Use separate container for yinghong massage
This commit is contained in:
parent
daa7653215
commit
07e2e08388
3 changed files with 18 additions and 15 deletions
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:
|
http:
|
||||||
middlewares:
|
middlewares:
|
||||||
remove_www_yinghong_massage:
|
remove_www_yinghong_massage_de:
|
||||||
redirectRegex:
|
redirectRegex:
|
||||||
regex: "^https://www\\.(yinghong-massage\\.de.*)"
|
regex: "^https://www\\.(yinghong-massage\\.de.*)"
|
||||||
replacement: "https://${1}"
|
replacement: "https://${1}"
|
||||||
|
@ -81,12 +81,12 @@ http:
|
||||||
middlewares:
|
middlewares:
|
||||||
- webhook_ratelimit
|
- webhook_ratelimit
|
||||||
service: webhook
|
service: webhook
|
||||||
to_yinghong_massage:
|
to_yinghong_massage_de:
|
||||||
rule: Host(`yinghong-massage.de`) || Host(`www.yinghong-massage.de`)
|
rule: Host(`yinghong-massage.de`) || Host(`www.yinghong-massage.de`)
|
||||||
priority: 1
|
priority: 1
|
||||||
middlewares:
|
middlewares:
|
||||||
- remove_www_yinghong_massage
|
- remove_www_yinghong_massage_de
|
||||||
service: nginx
|
service: yinghong_massage_de
|
||||||
to_yinghong_massage_oxiform:
|
to_yinghong_massage_oxiform:
|
||||||
rule: Host(`yinghong-massage.de`) && PathPrefix(`/oxiform`)
|
rule: Host(`yinghong-massage.de`) && PathPrefix(`/oxiform`)
|
||||||
priority: 2
|
priority: 2
|
||||||
|
@ -182,3 +182,7 @@ http:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: http://juna_li_com
|
- url: http://juna_li_com
|
||||||
|
yinghong_massage_de:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://yinghong-massage-de
|
||||||
|
|
Loading…
Add table
Reference in a new issue