Parcourir la source

Enhance webmail security

Alexandros Ioannides il y a 6 ans
Parent
commit
ae8d0e33d7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      install/deb/nginx/webmail.inc

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

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