diff options
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r-- | support/nginx/peertube | 6 |
1 files changed, 0 insertions, 6 deletions
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 { | |||
38 | # resolver_timeout 5s; | 38 | # resolver_timeout 5s; |
39 | 39 | ||
40 | add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"; | 40 | add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"; |
41 | add_header X-Frame-Options DENY; | ||
42 | add_header X-Content-Type-Options nosniff; | 41 | add_header X-Content-Type-Options nosniff; |
43 | add_header X-XSS-Protection "1; mode=block"; | 42 | add_header X-XSS-Protection "1; mode=block"; |
44 | add_header X-Robots-Tag none; | 43 | add_header X-Robots-Tag none; |
@@ -104,11 +103,6 @@ server { | |||
104 | alias /var/www/peertube/storage/videos; | 103 | alias /var/www/peertube/storage/videos; |
105 | } | 104 | } |
106 | 105 | ||
107 | # Allow embeds | ||
108 | location /videos/embed { | ||
109 | proxy_hide_header X-Frame-Options; | ||
110 | } | ||
111 | |||
112 | # Websocket tracker | 106 | # Websocket tracker |
113 | location /tracker/socket { | 107 | location /tracker/socket { |
114 | # Peers send a message to the tracker every 15 minutes | 108 | # Peers send a message to the tracker every 15 minutes |