From b1f3567d7c975e88a134c4251a8bddb400800272 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Mon, 6 Jul 2020 14:42:21 +0200 Subject: [PATCH] remove cache --- docs/ffplayout.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/ffplayout.conf b/docs/ffplayout.conf index 6bcdc164..9b54d7df 100644 --- a/docs/ffplayout.conf +++ b/docs/ffplayout.conf @@ -1,9 +1,3 @@ -map $sent_http_content_type $expires { - "text/html" 1h; # set this to your needs - "text/html; charset=utf-8" 1h; # set this to your needs - default 1d; # set this to your needs -} - server { listen 80; @@ -22,8 +16,6 @@ server { add_header X-XSS-Protection "1; mode=block"; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; - expires $expires; - location / { if ($http_origin ~ '^https?://(localhost|ffplayout\.local)') { add_header 'Access-Control-Allow-Origin' "$http_origin" always;