remove cache

This commit is contained in:
Jonathan Baecker 2020-07-06 14:42:21 +02:00
parent 499467a649
commit b1f3567d7c

View File

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