File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
install/deb/templates/web/nginx/php-fpm Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,14 @@ server {
5858 fastcgi_index index.php;
5959 include /etc/nginx/fastcgi_params;
6060 include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
61- if ($request_uri ~* "/manager/|index.php") {
62- set $no_cache 1;
63- }
64- if ($http_cookie ~ SESS) {
65- set $no_cache 1;
66- }
61+
62+ if ($request_uri ~* "/manager/|index.php") {
63+ set $no_cache 1;
64+ }
65+ if ($http_cookie ~ SESS) {
66+ set $no_cache 1;
67+ }
68+ }
6769 }
6870
6971 location /error/ {
Original file line number Diff line number Diff line change @@ -53,12 +53,14 @@ server {
5353 fastcgi_index index.php;
5454 include /etc/nginx/fastcgi_params;
5555 include % home% /% user% /conf/web/% domain% /nginx.fastcgi_cache.conf*;
56- if ($request_uri ~* " /manager/|index.php" ) {
57- set $no_cache 1;
58- }
59- if ($http_cookie ~ SESS) {
60- set $no_cache 1;
61- }
56+
57+ if ($request_uri ~* " /manager/|index.php" ) {
58+ set $no_cache 1;
59+ }
60+ if ($http_cookie ~ SESS) {
61+ set $no_cache 1;
62+ }
63+ }
6264 }
6365
6466 location /error/ {
You can’t perform that action at this time.
0 commit comments