From fd5d4d0d25e4072af16b592c7d810f428401dcfd Mon Sep 17 00:00:00 2001 From: Sirius Date: Sun, 16 Jul 2023 16:42:57 +0200 Subject: [PATCH] Quote fake IPs --- dist/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/nginx.conf b/dist/nginx.conf index 64266490f7..c024657dc2 100644 --- a/dist/nginx.conf +++ b/dist/nginx.conf @@ -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;