From: Chocobozzz Date: Tue, 20 Mar 2018 16:39:36 +0000 (+0100) Subject: Revert "Selective route permission to use embeds, fixes #322 in a better way (#364... X-Git-Tag: v1.0.0-beta.2~78 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=051bf3f773f5fd64a48eb2d29381db56dbc19745;p=oweals%2Fpeertube.git Revert "Selective route permission to use embeds, fixes #322 in a better way (#364)" (#365) This reverts commit d40cd86bf56973d7217ad44737e3890b6e7f1ad5. --- diff --git a/support/nginx/peertube b/support/nginx/peertube index bde0b18e8..e94eac5e8 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -38,7 +38,6 @@ server { # resolver_timeout 5s; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"; - add_header X-Frame-Options DENY; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; @@ -104,11 +103,6 @@ server { alias /var/www/peertube/storage/videos; } - # Allow embeds - location /videos/embed { - proxy_hide_header X-Frame-Options; - } - # Websocket tracker location /tracker/socket { # Peers send a message to the tracker every 15 minutes