mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore(reverse_proxy.conf): support rfc7239 # 306
This commit is contained in:
parent
6302454826
commit
c1c1094544
1 changed files with 1 additions and 0 deletions
|
@ -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 }}/;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue