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