From 3169a42303de3ae5ce2617012e4aa07e2e38d072 Mon Sep 17 00:00:00 2001 From: "@_sopitz" Date: Mon, 20 Feb 2017 18:53:24 +0100 Subject: [PATCH] disable caching for api calls --- seeds/taiga.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/seeds/taiga.tmpl b/seeds/taiga.tmpl index ab4bbfb..41344ca 100644 --- a/seeds/taiga.tmpl +++ b/seeds/taiga.tmpl @@ -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; }