File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
install/deb/templates/mail/nginx Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ server {
77 error_log /var/log/nginx/domains/% domain% .error.log error;
88
99 include % home% /% user% /conf/mail/% root_domain% /nginx.forcessl.conf*;
10-
10+
1111 location ~ /\.(?! well-known\/) {
1212 deny all;
1313 return 404;
1414 }
15-
15+
1616 location ~ ^/(README.md|config|temp|logs|bin|SQL|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
1717 deny all;
1818 return 404;
1919 }
20-
20+
2121 location / {
2222 try_files $uri $uri / /index.php?q= $uri &$args ;
2323 location ~* ^.+\.(ogg|ogv|svg|svgz|swf|eot|otf|woff|mov|mp3|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|gif|png|ico|bmp|mid|midi|wav|rtf|css|js|jar)$ {
@@ -33,7 +33,7 @@ server {
3333 include fastcgi_params;
3434 fastcgi_param SCRIPT_FILENAME $request_filename ;
3535 }
36-
36+
3737 error_page 403 /error/404.html;
3838 error_page 404 /error/404.html;
3939 error_page 500 502 503 504 505 /error/50x.html;
You can’t perform that action at this time.
0 commit comments