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 @@ -20,20 +20,20 @@ server {
2020
2121 location / {
2222 proxy_pass https://%ip%:%web_ssl_port%;
23- try_files $uri $uri/ /index.php?q=$uri&$args ;
23+ try_files $uri $uri/ =404 ;
2424 alias /var/lib/roundcube/;
2525 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)$ {
2626 expires 7d;
2727 fastcgi_hide_header "Set-Cookie";
2828 }
29- }
3029
31- location ~ ^/(.*\.php)$ {
32- alias /var/lib/roundcube/$1;
33- fastcgi_pass 127.0.0.1:9000;
34- fastcgi_index index.php;
35- include fastcgi_params;
36- fastcgi_param SCRIPT_FILENAME $request_filename;
30+ location ~ ^/(.*\.php)$ {
31+ alias /var/lib/roundcube/$1;
32+ fastcgi_pass 127.0.0.1:9000;
33+ fastcgi_index index.php;
34+ include fastcgi_params;
35+ fastcgi_param SCRIPT_FILENAME $request_filename;
36+ }
3737 }
3838
3939 error_page 403 /error/404.html;
You can’t perform that action at this time.
0 commit comments