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