Caddy2
blog.h1e7.com{
root * /var/www/html
encode gzip
tls [email protected]
reverse_proxy /4a5b 127.0.0.1:11234 {
# header_up -Origin
header_up Host {http.reverse_proxy.upstream.hostport}
header_up X-Real-IP {http.request.remote}
header_up X-Forwarded-For {http.request.remote}
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
}
}
页:
[1]