1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-26 23:26:08 +03:00
ProxySU/TemplateConfg/Http2Web_server_config.caddyfile

14 lines
398 B
Plaintext
Raw Normal View History

2020-04-16 16:08:47 +03:00
##domain## {
log stdout
errors stderr
root /var/www
tls off
2020-04-18 16:21:44 +03:00
##sites##
2020-04-16 16:08:47 +03:00
proxy ##path## https://localhost:10000 {
insecure_skip_verify
header_upstream Host {host}
header_upstream X-Real-IP {remote}
header_upstream X-Forwarded-For {remote}
header_upstream X-Forwarded-Port {server_port}
header_upstream X-Forwarded-Proto "https"
}