disable caching for api calls
This commit is contained in:
parent
404bd1db9d
commit
3169a42303
@ -23,6 +23,9 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto ${ESC}scheme;
|
proxy_set_header X-Forwarded-Proto ${ESC}scheme;
|
||||||
proxy_set_header X-Forwarded-For ${ESC}proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For ${ESC}proxy_add_x_forwarded_for;
|
||||||
proxy_pass http://127.0.0.1:8001/api;
|
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;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user