Skip to content

Commit 4716c7f

Browse files
committed
Change cache settings
1 parent afbf196 commit 4716c7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nginx/templates/servers.conf.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ server {
1515

1616
client_max_body_size 15M;
1717

18-
proxy_cache_key $uri$is_args$args;
18+
proxy_cache_key $uri;
1919
proxy_cache vector_cache;
2020
proxy_cache_valid 200 302 10m;
2121
proxy_cache_valid 404 1m;
2222
proxy_cache_valid any 1m;
2323
proxy_cache_revalidate on;
2424
proxy_cache_use_stale error timeout updating;
2525

26-
proxy_cache_bypass $http_pragma $http_cache_control;
26+
proxy_cache_bypass $http_cache_control;
2727

2828
proxy_pass http://payload:3000;
2929
}
@@ -60,7 +60,7 @@ server {
6060
listen 1810;
6161

6262
location ~ ^/purge(/.*) {
63-
proxy_cache_purge vector_cache $1$is_args$args;
63+
proxy_cache_purge vector_cache $1;
6464

6565
return 200;
6666
}

0 commit comments

Comments
 (0)