Skip to content

Commit 9cc8340

Browse files
author
Kristan Kenney
committed
Set header value for cookie-less domains in PHP-FPM templates
1 parent a548f60 commit 9cc8340

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+44
-0
lines changed

install/deb/multiphp/nginx/PHP-56.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414

1515
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1616
expires max;
17+
fastcgi_hide_header "Set-Cookie";
1718
}
1819

1920
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-56.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ server {
1313
1414
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1515
expires max;
16+
fastcgi_hide_header "Set-Cookie";
1617
}
1718

1819
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-70.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414

1515
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1616
expires max;
17+
fastcgi_hide_header "Set-Cookie";
1718
}
1819

1920
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-70.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ server {
1313
1414
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1515
expires max;
16+
fastcgi_hide_header "Set-Cookie";
1617
}
1718

1819
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-71.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414

1515
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1616
expires max;
17+
fastcgi_hide_header "Set-Cookie";
1718
}
1819

1920
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-71.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ server {
1313
1414
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1515
expires max;
16+
fastcgi_hide_header "Set-Cookie";
1617
}
1718

1819
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-72.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414

1515
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1616
expires max;
17+
fastcgi_hide_header "Set-Cookie";
1718
}
1819

1920
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-72.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ server {
1313
1414
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1515
expires max;
16+
fastcgi_hide_header "Set-Cookie";
1617
}
1718

1819
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-73.stpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414

1515
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1616
expires max;
17+
fastcgi_hide_header "Set-Cookie";
1718
}
1819

1920
location ~ [^/]\.php(/|$) {

install/deb/multiphp/nginx/PHP-73.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ server {
1313
1414
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
1515
expires max;
16+
fastcgi_hide_header "Set-Cookie";
1617
}
1718

1819
location ~ [^/]\.php(/|$) {

0 commit comments

Comments
 (0)