Browse Source

Merge pull request #5262 from mailcow/fix-5252

Rspamd returns 401 on unsuccesful logins
Niklas Meyer 2 years ago
parent
commit
29892dc694
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/conf/nginx/includes/site-defaults.conf

+ 1 - 1
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;