Skip to content

Commit

Permalink
Ignore params in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdijk committed Sep 13, 2024
1 parent 393d27c commit 6b55880
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ server {

proxy_cache mycache;

proxy_ignore_headers "Set-Cookie";
proxy_hide_header "Set-Cookie";

proxy_cache_key $scheme$proxy_host$uri;

location = /health {
access_log off;
add_header 'Content-Type' 'application/json';
Expand Down

0 comments on commit 6b55880

Please sign in to comment.