Browse Source

Remove duplicated set-cookie line in default fpm config.
This commit closes #778

Raphael Schneeberger 6 years ago
parent
commit
a2a26c7e53

+ 1 - 0
CHANGELOG.md

@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
 ### Bugfixes
 - Disable Apache2 Server Status Module by default.
 - Do not allow to change the password of a non-hestia user. Thanks to Alexandre Zanni!
+- Remove duplicated set-cookie line in default fpm config.
 
 ## [1.1.1] - 2020-03-24 - Hotfix
 ### Features

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

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

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

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