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
2020-05-06 12:08:26 +08:00

14 lines
398 B
Plaintext

##domain## {
log stdout
errors stderr
root /var/www
tls off
##sites##
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"
}