Skip to content

Commit

Permalink
change nginx cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
nspmx committed Nov 11, 2024
1 parent 9184bea commit e9d42c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/delaware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ ingress:
# add_header Access-Control-Allow-Headers "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type";
# Define the cache key
set $cache_key "$host$request_uri";
# set $cache_key "$served_host$request_uri";
# set $cache_key "$host$request_uri";
set $cache_key "$served_host$request_uri";
proxy_cache delaware-cache;
proxy_cache_bypass $http_x_update;
proxy_cache_key $cache_key;
Expand Down

0 comments on commit e9d42c7

Please sign in to comment.