new file: .env

new file:   Caddyfile
	new file:   docker-compose.yml
	new file:   html/index.html
This commit is contained in:
ChillPad VPN
2025-12-05 01:51:37 +00:00
parent e287d7ebe2
commit 5e93a4a82f
4 changed files with 239 additions and 0 deletions

36
Caddyfile Normal file
View File

@@ -0,0 +1,36 @@
{
https_port {$SELF_STEAL_PORT}
default_bind 127.0.0.1
servers {
listener_wrappers {
proxy_protocol {
allow 127.0.0.1/32
}
tls
}
}
auto_https disable_redirects
}
http://{$SELF_STEAL_DOMAIN} {
bind 0.0.0.0
redir https://{$SELF_STEAL_DOMAIN}{uri} permanent
}
https://{$SELF_STEAL_DOMAIN} {
root * /var/www/html
try_files {path} /index.html
file_server
}
:{$SELF_STEAL_PORT} {
tls internal
respond 204
}
#:80 {
# bind 0.0.0.0
# respond 204
#}