Skip to content

Commit 9bd2a09

Browse files
committed
Add cache bypass by header
1 parent 26e8258 commit 9bd2a09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nginx/templates/servers.conf.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ server {
2222
proxy_cache_valid any 1m;
2323
proxy_cache_revalidate on;
2424
proxy_cache_use_stale error timeout updating;
25+
26+
proxy_cache_bypass $http_pragma $http_cache_control;
2527

2628
proxy_pass http://payload:3000;
2729
}

0 commit comments

Comments
 (0)