chore(reverse_proxy.conf): support rfc7239 # 306

This commit is contained in:
Jacky 2024-05-21 10:49:30 +08:00
parent 6302454826
commit c1c1094544
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D

View file

@ -47,6 +47,7 @@ location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Forwarded $proxy_add_forwarded;
proxy_pass http://127.0.0.1:{{ .port }}/;
}