From cd6e9310a059b3d864b34869d9b25bda66da1c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bie=C5=84?= Date: Mon, 17 May 2021 22:23:54 +0200 Subject: [PATCH] Add realIp override to allow anonymous submissions --- config/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nginx.conf b/config/nginx.conf index f947391..1ab4402 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -36,6 +36,10 @@ http { server_name _; root /usr/share/nginx/html; + set_real_ip_from 192.172.189.251; + real_ip_header X-Forwarded-For; + real_ip_recursive on; + location / { try_files $uri $uri/ /index.html; }