Compare commits
2 commits
fabb6e5e94
...
07e2e08388
Author | SHA1 | Date | |
---|---|---|---|
07e2e08388 | |||
daa7653215 |
4 changed files with 19 additions and 16 deletions
|
@ -32,4 +32,4 @@ podman-default-create \
|
|||
-e POSTGRES_HOST=$db_container_name \
|
||||
--env-file $db_env_file \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/library/nextcloud:25-apache
|
||||
docker.io/library/nextcloud:26-apache
|
||||
|
|
10
containers/yinghong_massage.fish
Executable file
10
containers/yinghong_massage.fish
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
set -l container_name yinghong-massage-de
|
||||
|
||||
buildah build --layers -t $container_name:latest ~/code/yinghong-massage.de
|
||||
|
||||
podman-default-create \
|
||||
$container_name \
|
||||
--network traefik \
|
||||
localhost/$container_name:latest
|
|
@ -1,11 +0,0 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name yinghong-massage.de;
|
||||
|
||||
location / {
|
||||
root /volumes/sites/yinghong-massage.de;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
http:
|
||||
middlewares:
|
||||
remove_www_yinghong_massage:
|
||||
remove_www_yinghong_massage_de:
|
||||
redirectRegex:
|
||||
regex: "^https://www\\.(yinghong-massage\\.de.*)"
|
||||
replacement: "https://${1}"
|
||||
|
@ -81,12 +81,12 @@ http:
|
|||
middlewares:
|
||||
- webhook_ratelimit
|
||||
service: webhook
|
||||
to_yinghong_massage:
|
||||
to_yinghong_massage_de:
|
||||
rule: Host(`yinghong-massage.de`) || Host(`www.yinghong-massage.de`)
|
||||
priority: 1
|
||||
middlewares:
|
||||
- remove_www_yinghong_massage
|
||||
service: nginx
|
||||
- remove_www_yinghong_massage_de
|
||||
service: yinghong_massage_de
|
||||
to_yinghong_massage_oxiform:
|
||||
rule: Host(`yinghong-massage.de`) && PathPrefix(`/oxiform`)
|
||||
priority: 2
|
||||
|
@ -182,3 +182,7 @@ http:
|
|||
loadBalancer:
|
||||
servers:
|
||||
- url: http://juna_li_com
|
||||
yinghong_massage_de:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://yinghong-massage-de
|
||||
|
|
Loading…
Reference in a new issue