reorganize vps domains
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
handle @beszel {
|
||||
reverse_proxy http://beszel:8090
|
||||
}
|
||||
|
||||
|
||||
@gameyfin host gameyfin.catmedved.com
|
||||
handle @gameyfin {
|
||||
reverse_proxy http://gameyfin:8080
|
||||
@@ -24,7 +24,7 @@
|
||||
handle @gitea {
|
||||
reverse_proxy http://gitea:3000
|
||||
}
|
||||
|
||||
|
||||
@music host music.catmedved.com
|
||||
handle @music {
|
||||
reverse_proxy http://navidrome:4533
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
http://*.catmedved.com {
|
||||
@not_from_wg not remote_ip 10.8.0.0/24
|
||||
|
||||
|
||||
redir @not_from_wg https://{host}{uri} permanent
|
||||
|
||||
import apps
|
||||
@@ -56,7 +56,7 @@ http://*.catmedved.com {
|
||||
|
||||
https://*.catmedved.com {
|
||||
tls /etc/caddy/certs/fullchain.pem /etc/caddy/certs/privkey.pem
|
||||
|
||||
|
||||
import apps
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +1,45 @@
|
||||
{
|
||||
{
|
||||
email ulakar@fastmail.com
|
||||
admin off
|
||||
}
|
||||
|
||||
beszel.catmedved.com {
|
||||
reverse_proxy http://10.8.0.3:8090
|
||||
}
|
||||
(forward_to_home) {
|
||||
reverse_proxy 10.8.0.3:80 {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
}
|
||||
|
||||
gameyfin.catmedved.com {
|
||||
reverse_proxy http://10.8.0.3:8080
|
||||
}
|
||||
(forward_to_kladovka) {
|
||||
reverse_proxy 10.8.0.4:80 {
|
||||
header_up Host {host}
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
}
|
||||
|
||||
media.kladovka52.com {
|
||||
reverse_proxy http://10.8.0.4:8096
|
||||
}
|
||||
|
||||
# catmedved.com
|
||||
|
||||
beszel.catmedved.com,
|
||||
gameyfin.catmedved.com,
|
||||
gitea.catmedved.com,
|
||||
music.catmedved.com,
|
||||
pdf-tools.catmedved.com,
|
||||
pdf-tools.kladovka52.com,
|
||||
photo.catmedved.com,
|
||||
recepies.catmedved.com {
|
||||
import forward_to_home
|
||||
}
|
||||
|
||||
reverse_proxy http://10.8.0.3:4533
|
||||
}
|
||||
# kladovka52.com
|
||||
|
||||
media.kladovka52.com,
|
||||
photo.kladovka52.com {
|
||||
import forward_to_kladovka
|
||||
}
|
||||
|
||||
photo.catmedved.com {
|
||||
reverse_proxy http://10.8.0.3:2283
|
||||
}
|
||||
|
||||
|
||||
vpnwg.ulakar.com {
|
||||
# wg-easy
|
||||
vpnwg.ulakar.com {
|
||||
reverse_proxy localhost:51821
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user