This commit is contained in:
Gabenov Stanislav
2026-02-09 20:42:24 +03:00
parent 0a8f11397d
commit a6d2623802
38 changed files with 2198 additions and 1 deletions

View File

@@ -0,0 +1,47 @@
{
https_port 4123
default_bind 127.0.0.1
servers {
listener_wrappers {
proxy_protocol {
allow 127.0.0.1/32
}
tls
}
}
auto_https disable_redirects
}
https://$VLESS_DOMAIN {
$CADDY_REVERSE
header {
-Server
}
handle_errors {
header {
-Server
}
}
}
http://$VLESS_DOMAIN {
bind 0.0.0.0
redir https://$VLESS_DOMAIN{uri} permanent
header {
-Server
}
handle_errors {
header {
-Server
}
}
}
:4123 {
tls internal
respond 204
}
:80 {
bind 0.0.0.0
respond 204
}