kopia lustrzana https://github.com/piku/piku
Enable NGINX caching to include query parameters
Previously, NGINX caching will ignore any query parameters in the URIpull/387/head
rodzic
bbea1bedb1
commit
1513fc2a03
2
piku.py
2
piku.py
|
@ -183,7 +183,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