File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
install/deb/templates/mail/nginx Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ server {
1919 }
2020
2121 location / {
22- try_files $uri $uri/ /index.php?q=$uri&$args ;
22+ try_files $uri $uri/ =404 ;
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)$ {
2424 expires 7d;
2525 fastcgi_hide_header "Set-Cookie";
2626 }
27- }
2827
29- location ~ ^/(.*\.php)$ {
30- alias /var/lib/roundcube/$1;
31- fastcgi_pass 127.0.0.1:9000;
32- fastcgi_index index.php;
33- include fastcgi_params;
34- fastcgi_param SCRIPT_FILENAME $request_filename;
28+ location ~ ^/(.*\.php)$ {
29+ alias /var/lib/roundcube/$1;
30+ fastcgi_pass 127.0.0.1:9000;
31+ fastcgi_index index.php;
32+ include fastcgi_params;
33+ fastcgi_param SCRIPT_FILENAME $request_filename;
34+ }
3535 }
3636
3737 error_page 403 /error/404.html;
You can’t perform that action at this time.
0 commit comments