Quote fake IPs
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Sirius 2023-07-16 16:42:57 +02:00
parent d4e26f3914
commit fd5d4d0d25

8
dist/nginx.conf vendored
View file

@ -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;