Merge pull request #3 from sopitz/master

disable caching for api calls
This commit is contained in:
Andy 2017-03-08 22:47:45 +05:30 committed by GitHub
commit a5dc3921b5

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;
}