kopia lustrzana https://github.com/piku/piku
Merge pull request #387 from delzac/patch-1
Enable NGINX caching to include query parameterspull/390/head
commit
29970d7ca1
2
piku.py
2
piku.py
|
@ -185,7 +185,7 @@ PIKU_INTERNAL_NGINX_CACHE_MAPPING = """
|
|||
location ~* ^/($cache_prefixes) {
|
||||
uwsgi_cache $APP;
|
||||
uwsgi_cache_min_uses 1;
|
||||
uwsgi_cache_key $host$uri;
|
||||
uwsgi_cache_key $host$request_uri;
|
||||
uwsgi_cache_valid 200 304 $cache_time_content;
|
||||
uwsgi_cache_valid 301 307 $cache_time_redirects;
|
||||
uwsgi_cache_valid 500 502 503 504 0s;
|
||||
|
|
Ładowanie…
Reference in New Issue