aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx/peertube
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r--support/nginx/peertube6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index e94eac5e8..bde0b18e8 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -38,6 +38,7 @@ 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;
41 add_header X-Content-Type-Options nosniff; 42 add_header X-Content-Type-Options nosniff;
42 add_header X-XSS-Protection "1; mode=block"; 43 add_header X-XSS-Protection "1; mode=block";
43 add_header X-Robots-Tag none; 44 add_header X-Robots-Tag none;
@@ -103,6 +104,11 @@ server {
103 alias /var/www/peertube/storage/videos; 104 alias /var/www/peertube/storage/videos;
104 } 105 }
105 106
107 # Allow embeds
108 location /videos/embed {
109 proxy_hide_header X-Frame-Options;
110 }
111
106 # Websocket tracker 112 # Websocket tracker
107 location /tracker/socket { 113 location /tracker/socket {
108 # Peers send a message to the tracker every 15 minutes 114 # Peers send a message to the tracker every 15 minutes