aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-20 17:39:36 +0100
committerGitHub <noreply@github.com>2018-03-20 17:39:36 +0100
commit051bf3f773f5fd64a48eb2d29381db56dbc19745 (patch)
treee634adade65348e77c8628ae6aba9ca462cea25b /support/nginx
parentd40cd86bf56973d7217ad44737e3890b6e7f1ad5 (diff)
downloadPeerTube-051bf3f773f5fd64a48eb2d29381db56dbc19745.tar.gz
PeerTube-051bf3f773f5fd64a48eb2d29381db56dbc19745.tar.zst
PeerTube-051bf3f773f5fd64a48eb2d29381db56dbc19745.zip
Revert "Selective route permission to use embeds, fixes #322 in a better way (#364)" (#365)
This reverts commit d40cd86bf56973d7217ad44737e3890b6e7f1ad5.
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube6
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