From 7a582afbdc269d006a2e7c9467ba0a46d9747b2f Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 28 May 2023 22:43:26 +0200 Subject: [PATCH] Rspamd returns 401 on unsuccesful logins --- data/conf/nginx/includes/site-defaults.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/nginx/includes/site-defaults.conf b/data/conf/nginx/includes/site-defaults.conf index ef2c4fb8..1d03e939 100644 --- a/data/conf/nginx/includes/site-defaults.conf +++ b/data/conf/nginx/includes/site-defaults.conf @@ -114,7 +114,7 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_redirect off; - error_page 403 /_rspamderror.php; + error_page 401 /_rspamderror.php; } proxy_pass http://rspamd:11334/; proxy_set_header Host $http_host;