aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValvin <valvin1@users.noreply.github.com>2018-03-05 09:40:36 +0100
committerChocobozzz <me@florianbigard.com>2018-03-05 09:40:36 +0100
commit446f78d7b40a50a792fa903ca8e031a904d8ca30 (patch)
treeff40b44e0b25c0a62a6a2ffd76ed44f1a7397557
parentf0f1a3fc9e94b1e0bd9e6cf3025862111245c9b9 (diff)
downloadPeerTube-446f78d7b40a50a792fa903ca8e031a904d8ca30.tar.gz
PeerTube-446f78d7b40a50a792fa903ca8e031a904d8ca30.tar.zst
PeerTube-446f78d7b40a50a792fa903ca8e031a904d8ca30.zip
Remove X-Frame options in nginx config (#322)
`X-Frame-Options DENY;` doesn't permit sharing using iframe
-rw-r--r--support/nginx/peertube1
1 files changed, 0 insertions, 1 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index f2632084c..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;