mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-27 09:19:15 +08:00
[SOGo, Nginx] Deny access to some extensions from SOGo web ui to mitigate security concerns
This commit is contained in:
parent
08e9ab18a8
commit
6a8aa699d9
@ -176,6 +176,10 @@
|
||||
}
|
||||
|
||||
location ^~ /SOGo {
|
||||
location ~* ^/SOGo/so/.*\.(xml|js|html|xhtml)$ {
|
||||
return 403;
|
||||
break;
|
||||
}
|
||||
include /etc/nginx/conf.d/sogo_proxy_auth.active;
|
||||
include /etc/nginx/conf.d/sogo.active;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user