Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Caching doesn't work right now (#82).
Browse files Browse the repository at this point in the history
  • Loading branch information
jfly committed Jan 9, 2015
1 parent ffe2095 commit 0b9c6c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/production/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-NginX-Proxy true;

proxy_cache one;
proxy_cache_key $scheme$host$uri$is_args$args;
proxy_cache_valid any 5m;
proxy_cache_use_stale error timeout invalid_header;
add_header X-Cache-Status $upstream_cache_status;
#proxy_cache one;
#proxy_cache_key $scheme$host$uri$is_args$args;
#proxy_cache_valid any 5m;
#proxy_cache_use_stale error timeout invalid_header;
#add_header X-Cache-Status $upstream_cache_status;

server {
listen 80;
Expand Down

0 comments on commit 0b9c6c3

Please sign in to comment.