Browse Source

Set header value for cookie-less domains in PHP-FPM templates

Kristan Kenney 6 years ago
parent
commit
9cc834083b
42 changed files with 44 additions and 0 deletions
  1. 1 0
      install/deb/multiphp/nginx/PHP-56.stpl
  2. 1 0
      install/deb/multiphp/nginx/PHP-56.tpl
  3. 1 0
      install/deb/multiphp/nginx/PHP-70.stpl
  4. 1 0
      install/deb/multiphp/nginx/PHP-70.tpl
  5. 1 0
      install/deb/multiphp/nginx/PHP-71.stpl
  6. 1 0
      install/deb/multiphp/nginx/PHP-71.tpl
  7. 1 0
      install/deb/multiphp/nginx/PHP-72.stpl
  8. 1 0
      install/deb/multiphp/nginx/PHP-72.tpl
  9. 1 0
      install/deb/multiphp/nginx/PHP-73.stpl
  10. 1 0
      install/deb/multiphp/nginx/PHP-73.tpl
  11. 1 0
      install/deb/templates/web/nginx/php-fpm/cms_made_simple.stpl
  12. 1 0
      install/deb/templates/web/nginx/php-fpm/cms_made_simple.tpl
  13. 1 0
      install/deb/templates/web/nginx/php-fpm/codeigniter2.stpl
  14. 1 0
      install/deb/templates/web/nginx/php-fpm/codeigniter2.tpl
  15. 1 0
      install/deb/templates/web/nginx/php-fpm/codeigniter3.stpl
  16. 1 0
      install/deb/templates/web/nginx/php-fpm/codeigniter3.tpl
  17. 1 0
      install/deb/templates/web/nginx/php-fpm/datalife_engine.stpl
  18. 1 0
      install/deb/templates/web/nginx/php-fpm/datalife_engine.tpl
  19. 2 0
      install/deb/templates/web/nginx/php-fpm/default.stpl
  20. 2 0
      install/deb/templates/web/nginx/php-fpm/default.tpl
  21. 1 0
      install/deb/templates/web/nginx/php-fpm/dokuwiki.stpl
  22. 1 0
      install/deb/templates/web/nginx/php-fpm/dokuwiki.tpl
  23. 1 0
      install/deb/templates/web/nginx/php-fpm/joomla.stpl
  24. 1 0
      install/deb/templates/web/nginx/php-fpm/joomla.tpl
  25. 1 0
      install/deb/templates/web/nginx/php-fpm/laravel.stpl
  26. 1 0
      install/deb/templates/web/nginx/php-fpm/laravel.tpl
  27. 1 0
      install/deb/templates/web/nginx/php-fpm/modx.stpl
  28. 1 0
      install/deb/templates/web/nginx/php-fpm/modx.tpl
  29. 1 0
      install/deb/templates/web/nginx/php-fpm/moodle.stpl
  30. 1 0
      install/deb/templates/web/nginx/php-fpm/moodle.tpl
  31. 1 0
      install/deb/templates/web/nginx/php-fpm/no-php.stpl
  32. 1 0
      install/deb/templates/web/nginx/php-fpm/no-php.tpl
  33. 1 0
      install/deb/templates/web/nginx/php-fpm/opencart.stpl
  34. 1 0
      install/deb/templates/web/nginx/php-fpm/opencart.tpl
  35. 1 0
      install/deb/templates/web/nginx/php-fpm/owncloud.stpl
  36. 1 0
      install/deb/templates/web/nginx/php-fpm/owncloud.tpl
  37. 1 0
      install/deb/templates/web/nginx/php-fpm/piwik.stpl
  38. 1 0
      install/deb/templates/web/nginx/php-fpm/piwik.tpl
  39. 1 0
      install/deb/templates/web/nginx/php-fpm/pyrocms.stpl
  40. 1 0
      install/deb/templates/web/nginx/php-fpm/pyrocms.tpl
  41. 1 0
      install/deb/templates/web/nginx/php-fpm/wordpress.stpl
  42. 1 0
      install/deb/templates/web/nginx/php-fpm/wordpress.tpl

+ 1 - 0
install/deb/multiphp/nginx/PHP-56.stpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-56.tpl

@@ -13,6 +13,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-70.stpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-70.tpl

@@ -13,6 +13,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-71.stpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-71.tpl

@@ -13,6 +13,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-72.stpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-72.tpl

@@ -13,6 +13,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-73.stpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/multiphp/nginx/PHP-73.tpl

@@ -13,6 +13,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/cms_made_simple.stpl

@@ -15,6 +15,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/cms_made_simple.tpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/codeigniter2.stpl

@@ -15,6 +15,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location = /index.php {
         location = /index.php {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/codeigniter2.tpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location = /index.php {
         location = /index.php {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/codeigniter3.stpl

@@ -15,6 +15,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/codeigniter3.tpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/datalife_engine.stpl

@@ -86,6 +86,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/datalife_engine.tpl

@@ -85,6 +85,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 2 - 0
install/deb/templates/web/nginx/php-fpm/default.stpl

@@ -14,6 +14,8 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 2 - 0
install/deb/templates/web/nginx/php-fpm/default.tpl

@@ -13,6 +13,8 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/dokuwiki.stpl

@@ -16,6 +16,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/dokuwiki.tpl

@@ -15,6 +15,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/joomla.stpl

@@ -15,6 +15,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         # deny running scripts inside writable directories
         # deny running scripts inside writable directories

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/joomla.tpl

@@ -14,6 +14,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         # deny running scripts inside writable directories
         # deny running scripts inside writable directories

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/laravel.stpl

@@ -15,6 +15,7 @@ server {
         try_files $uri $uri/ /index.php?$query_string;
         try_files $uri $uri/ /index.php?$query_string;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/laravel.tpl

@@ -12,6 +12,7 @@ server {
         try_files $uri $uri/ /index.php?$query_string;
         try_files $uri $uri/ /index.php?$query_string;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/modx.stpl

@@ -28,6 +28,7 @@ server {
         try_files $uri $uri/ @rewrite;
         try_files $uri $uri/ @rewrite;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
     }
     }
     location @rewrite {
     location @rewrite {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/modx.tpl

@@ -27,6 +27,7 @@ server {
         try_files $uri $uri/ @rewrite;
         try_files $uri $uri/ @rewrite;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
     }
     }
     location @rewrite {
     location @rewrite {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/moodle.stpl

@@ -47,6 +47,7 @@ server {
     location / {
     location / {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/moodle.tpl

@@ -47,6 +47,7 @@ server {
     location / {
     location / {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/no-php.stpl

@@ -17,6 +17,7 @@ server {
     location / {
     location / {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
     }
     }
 
 

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/no-php.tpl

@@ -16,6 +16,7 @@ server {
     location / {
     location / {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
     }
     }
 
 

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/opencart.stpl

@@ -14,6 +14,7 @@ server {
         try_files $uri $uri/ @opencart;
         try_files $uri $uri/ @opencart;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/opencart.tpl

@@ -12,6 +12,7 @@ server {
         try_files $uri $uri/ @opencart;
         try_files $uri $uri/ @opencart;
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/owncloud.stpl

@@ -53,6 +53,7 @@ server {
 
 
     location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
     location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         expires     max;
         expires     max;
+fastcgi_hide_header "Set-Cookie";
         # Some basic cache-control for static files to be sent to the browser
         # Some basic cache-control for static files to be sent to the browser
         add_header Pragma public;
         add_header Pragma public;
         add_header Cache-Control "public, must-revalidate, proxy-revalidate";
         add_header Cache-Control "public, must-revalidate, proxy-revalidate";

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/owncloud.tpl

@@ -52,6 +52,7 @@ server {
 
 
     location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
     location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         expires     max;
         expires     max;
+fastcgi_hide_header "Set-Cookie";
         # Some basic cache-control for static files to be sent to the browser
         # Some basic cache-control for static files to be sent to the browser
         add_header Pragma public;
         add_header Pragma public;
         add_header Cache-Control "public, must-revalidate, proxy-revalidate";
         add_header Cache-Control "public, must-revalidate, proxy-revalidate";

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/piwik.stpl

@@ -23,6 +23,7 @@ server {
                 return 444;
                 return 444;
             }
             }
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~* ^/(?:index|piwik)\.php$ {
         location ~* ^/(?:index|piwik)\.php$ {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/piwik.tpl

@@ -22,6 +22,7 @@ server {
                 return 444;
                 return 444;
             }
             }
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~* ^/(?:index|piwik)\.php$ {
         location ~* ^/(?:index|piwik)\.php$ {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/pyrocms.stpl

@@ -19,6 +19,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/pyrocms.tpl

@@ -18,6 +18,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/wordpress.stpl

@@ -31,6 +31,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {

+ 1 - 0
install/deb/templates/web/nginx/php-fpm/wordpress.tpl

@@ -29,6 +29,7 @@ server {
 
 
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
         location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
             expires     max;
             expires     max;
+            fastcgi_hide_header "Set-Cookie";
         }
         }
 
 
         location ~ [^/]\.php(/|$) {
         location ~ [^/]\.php(/|$) {