Fixup proxy
This commit is contained in:
parent
6f06fe69a5
commit
5ce05ee534
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ in
|
|||
|
||||
locations."/".extraConfig = ''
|
||||
proxy_pass http://10.3.3.3:3000/;
|
||||
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 X-Request-Base /;
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue