From 5828fd6d89812a781eb7894778192d797e263fcf Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 8 Apr 2018 18:39:05 -0400 Subject: [PATCH] can we escape the semi-colons maybe? --- ubuntu/mastodon.zombocloud.com.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/mastodon.zombocloud.com.yml b/ubuntu/mastodon.zombocloud.com.yml index 12fda4c..5ff0af2 100644 --- a/ubuntu/mastodon.zombocloud.com.yml +++ b/ubuntu/mastodon.zombocloud.com.yml @@ -25,7 +25,7 @@ - error_log "/var/log/nginx/mastodon.zombocloud.com.error.log" - ssl_certificate "/etc/ssl/letsencrypt/mastodon.zombocloud.com.crt" - ssl_certificate_key "/etc/ssl/letsencrypt/mastodon.zombocloud.com.pem" - - add_header "Strict-Transport-Security max-age=31536000; includeSubDomains" + - add_header Strict-Transport-Security max-age=31536000\; includeSubDomains - add_header Referrer-Policy no-referrer, strict-origin-when-cross-origin - location / { try_files $uri @proxy; @@ -50,7 +50,7 @@ proxy_cache_valid 200 7d; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; add_header X-Cached $upstream_cache_status; - add_header "Strict-Transport-Security max-age=31536000; includeSubDomains"; + add_header Strict-Transport-Security max-age=31536000\; includeSubDomains; add_header Referrer-Policy "no-referrer, strict-origin-when-cross-origin"; tcp_nodelay on; }