mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-12 15:07:11 +00:00
[SOGo, Nginx] Deny access to some extensions from SOGo web ui to mitigate security concerns
This commit is contained in:
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user