Skip to content

Commit 0acdf2c

Browse files
author
Alexandros Ioannides
authored
Update nginx.conf
1 parent e7ec3fa commit 0acdf2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/deb/nginx/nginx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ http {
137137
fastcgi_cache_methods GET HEAD;
138138
fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;
139139
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
140+
add_header X-FastCGI-Cache $upstream_cache_status;
140141

141142
# Cache bypass
142143
map $http_cookie $no_cache {

0 commit comments

Comments
 (0)