mirror of
https://github.com/System-End/spaces.git
synced 2026-04-19 19:55:17 +00:00
nginxy
This commit is contained in:
parent
ed8b8336c3
commit
a515ed54ff
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ http {
|
|||
set $path $2;
|
||||
set $target localhost:$port;
|
||||
proxy_pass http://$target$path;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Host localhost:$port;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue