Merge pull request #5262 from mailcow/fix-5252

Rspamd returns 401 on unsuccesful logins
This commit is contained in:
Niklas Meyer 2023-06-27 11:16:34 +02:00 committed by GitHub
commit 29892dc694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;