Skip to content

Commit

Permalink
Fix chaching fo reload requests
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Nov 17, 2024
1 parent 77d3199 commit 5339a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server {
server_name localhost;

proxy_cache default_cache;
proxy_cache_key $scheme$proxy_host$uri;
proxy_cache_key $scheme$proxy_host$uri$is_args$args$http_x_requested_with;

proxy_buffering on;

Expand Down Expand Up @@ -50,7 +50,7 @@ server {
}

location / {
set $args $args&static=yes;
set $args static=1&contest=auto;

proxy_set_header Accept-Encoding "";

Expand Down

0 comments on commit 5339a03

Please sign in to comment.