This commit is contained in:
parent
d4e26f3914
commit
fd5d4d0d25
1 changed files with 4 additions and 4 deletions
8
dist/nginx.conf
vendored
8
dist/nginx.conf
vendored
|
@ -116,8 +116,8 @@ server {
|
|||
|
||||
location ^~ /api/v1/streaming {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP 127.0.0.1;
|
||||
proxy_set_header X-Forwarded-For 127.0.0.1;
|
||||
proxy_set_header X-Real-IP "127.0.0.1";
|
||||
proxy_set_header X-Forwarded-For "127.0.0.1";
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Proxy "";
|
||||
|
||||
|
@ -135,8 +135,8 @@ server {
|
|||
|
||||
location @proxy {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP 127.0.0.1;
|
||||
proxy_set_header X-Forwarded-For 127.0.0.1;
|
||||
proxy_set_header X-Real-IP "127.0.0.1";
|
||||
proxy_set_header X-Forwarded-For "127.0.0.1";
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Proxy "";
|
||||
proxy_pass_header Server;
|
||||
|
|
Loading…
Reference in a new issue