mirror of
https://github.com/lingble/Mailu.git
synced 2026-03-20 03:50:30 +00:00
Make it work for /admin/antispam too
This commit is contained in:
@@ -232,6 +232,11 @@ http {
|
||||
proxy_set_header X-Real-IP "";
|
||||
proxy_set_header X-Forwarded-For "";
|
||||
proxy_pass http://$antispam;
|
||||
error_page 403 @antispam_login;
|
||||
}
|
||||
|
||||
location @antispam_login {
|
||||
return 302 /sso/login?url=$request_uri;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user