Remove juna-li.com
This commit is contained in:
parent
82223bfdfc
commit
fd186d43ca
3 changed files with 0 additions and 48 deletions
|
@ -1,12 +0,0 @@
|
|||
[Container]
|
||||
Image=docker.io/library/nginx:1
|
||||
AutoUpdate=registry
|
||||
Network=traefik.network
|
||||
Volume=%h/sync/volumes/nginx.conf:/etc/nginx/nginx.conf:z,ro
|
||||
Volume=%h/volumes/juna-li-com/public:/usr/share/nginx/html:Z,ro
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,22 +0,0 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
set -l container_name juna-li-com
|
||||
|
||||
mkdir -p ~/volumes/$container_name
|
||||
|
||||
podman run \
|
||||
--rm \
|
||||
--pull newer \
|
||||
-v ~/code/juna-li.com:/volumes/src:Z \
|
||||
-w /volumes/src \
|
||||
docker.io/library/node:slim bash -c "npm add tailwindcss && npx tailwindcss -m -i input.css -o static/main.css"
|
||||
|
||||
podman run \
|
||||
--rm \
|
||||
--pull newer \
|
||||
-v ~/code/juna-li.com:/volumes/src:Z,ro \
|
||||
-v ~/volumes/$container_name:/volumes/output:Z \
|
||||
-w /volumes/src \
|
||||
ghcr.io/getzola/zola:v0.18.0 build -o /volumes/output/public -f
|
||||
|
||||
systemctl --user restart juna-li-com
|
|
@ -6,11 +6,6 @@ http:
|
|||
regex: "^https://www\\.(yinghong-massage\\.de.*)"
|
||||
replacement: "https://${1}"
|
||||
permanent: true
|
||||
remove_www_juna_li_com:
|
||||
redirectRegex:
|
||||
regex: "^https://www\\.(juna-li\\.com.*)"
|
||||
replacement: "https://${1}"
|
||||
permanent: true
|
||||
remove_www_mo8it_com:
|
||||
redirectRegex:
|
||||
regex: "^https://www\\.(mo8it\\.com.*)"
|
||||
|
@ -33,11 +28,6 @@ http:
|
|||
permanent: true
|
||||
|
||||
routers:
|
||||
to_juna_li_com:
|
||||
rule: Host(`juna-li.com`) || Host(`www.juna-li.com`)
|
||||
middlewares:
|
||||
- remove_www_juna_li_com
|
||||
service: juna_li_com
|
||||
to_forgejo:
|
||||
rule: Host(`git.mo8it.com`)
|
||||
service: forgejo
|
||||
|
@ -129,10 +119,6 @@ http:
|
|||
loadBalancer:
|
||||
servers:
|
||||
- url: http://systemd-mo8it-com
|
||||
juna_li_com:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://systemd-juna-li-com
|
||||
yinghong_massage_de:
|
||||
loadBalancer:
|
||||
servers:
|
||||
|
|
Loading…
Reference in a new issue