Explorar o código

Enhance webmail security

Alexandros Ioannides %!s(int64=6) %!d(string=hai) anos
pai
achega
ae8d0e33d7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      install/deb/nginx/webmail.inc

+ 2 - 1
install/deb/nginx/webmail.inc

@@ -1,7 +1,8 @@
 location /webmail {
 location /webmail {
     alias /var/lib/roundcube/;
     alias /var/lib/roundcube/;
 
 
-    location ~ /(config|temp|logs) {
+    location ~ /(README.md|config|temp|logs|bin|SQL|INSTALL|LICENSE|CHANGELOG|UPGRADING) {
+        deny all;
         return 404;
         return 404;
     }
     }