From 85821bcc94c6173be01da09c28e7902f271ca3d5 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 8 Oct 2025 07:42:09 +0200 Subject: [PATCH] nginx config update --- http.d/Recipes.conf.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http.d/Recipes.conf.template b/http.d/Recipes.conf.template index a2187c090..3b9e7fb98 100644 --- a/http.d/Recipes.conf.template +++ b/http.d/Recipes.conf.template @@ -21,6 +21,9 @@ server { proxy_set_header Host $http_host; proxy_pass http://unix:/run/tandoor.sock; + # param needed by django allauth sessions to log IP + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # disabled for now because it redirects to the error page and not back, also not showing html #error_page 502 /errors/http502.html; }