modified: .env

modified:   Caddyfile
This commit is contained in:
ChillPad VPN
2026-08-30 22:56:02 +00:00
parent 5e93a4a82f
commit f99c2c1aa7
2 changed files with 15 additions and 2 deletions

3
.env
View File

@@ -1,2 +1,3 @@
SELF_STEAL_DOMAIN=
SELF_STEAL_DOMAIN=n
SELF_STEAL_DOMAIN_2=
SELF_STEAL_PORT=

View File

@@ -24,6 +24,18 @@ https://{$SELF_STEAL_DOMAIN} {
}
http://{$SELF_STEAL_DOMAIN_2} {
bind 0.0.0.0
redir https://{$SELF_STEAL_DOMAIN_2}{uri} permanent
}
https://{$SELF_STEAL_DOMAIN_2} {
root * /var/www/html
try_files {path} /index.html
file_server
}
:{$SELF_STEAL_PORT} {
tls internal
@@ -33,4 +45,4 @@ https://{$SELF_STEAL_DOMAIN} {
#:80 {
# bind 0.0.0.0
# respond 204
#}
#}