Compare commits

...

2 commits

Author SHA1 Message Date
3cd0b50b3c [#8] Anonymize User IPs
All checks were successful
continuous-integration/drone/tag Build is passing
2023-07-15 23:18:11 +02:00
8c1bfeb0d8 [#8] Anonymize user IPs 2023-07-15 23:17:54 +02:00

8
dist/nginx.conf vendored
View file

@ -116,8 +116,8 @@ server {
location ^~ /api/v1/streaming { location ^~ /api/v1/streaming {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP 127.0.0.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For 127.0.0.1;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Proxy ""; proxy_set_header Proxy "";
@ -135,8 +135,8 @@ server {
location @proxy { location @proxy {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP 127.0.0.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For 127.0.0.1;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Proxy ""; proxy_set_header Proxy "";
proxy_pass_header Server; proxy_pass_header Server;