disable caching for api calls

This commit is contained in:
@_sopitz 2017-02-20 18:53:24 +01:00 committed by GitHub
parent 404bd1db9d
commit 3169a42303

View File

@ -23,6 +23,9 @@ server {
proxy_set_header X-Forwarded-Proto ${ESC}scheme;
proxy_set_header X-Forwarded-For ${ESC}proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001/api;
add_header Cache-Control 'no-store';
proxy_cache_bypass true;
proxy_no_cache true
proxy_redirect off;
}