We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032c766 commit 5cd4aa4Copy full SHA for 5cd4aa4
1 file changed
install/deb/templates/web/nginx/php-fpm/drupal.stpl
@@ -77,6 +77,12 @@ server {
77
fastcgi_param SCRIPT_FILENAME $request_filename;
78
include /etc/nginx/fastcgi_params;
79
include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
80
+ if ($request_uri ~* "/user/|/admin/|index.php") {
81
+ set $no_cache 1;
82
+ }
83
+ if ($http_cookie ~ SESS) {
84
85
86
}
87
88
location ~ ^/sites/.*/files/styles/ {
0 commit comments