This reverts commit d40cd86bf5
.
This commit is contained in:
parent
d40cd86bf5
commit
051bf3f773
1 changed files with 0 additions and 6 deletions
|
@ -38,7 +38,6 @@ server {
|
||||||
# resolver_timeout 5s;
|
# resolver_timeout 5s;
|
||||||
|
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
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-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
add_header X-Robots-Tag none;
|
||||||
|
@ -104,11 +103,6 @@ server {
|
||||||
alias /var/www/peertube/storage/videos;
|
alias /var/www/peertube/storage/videos;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Allow embeds
|
|
||||||
location /videos/embed {
|
|
||||||
proxy_hide_header X-Frame-Options;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Websocket tracker
|
# Websocket tracker
|
||||||
location /tracker/socket {
|
location /tracker/socket {
|
||||||
# Peers send a message to the tracker every 15 minutes
|
# Peers send a message to the tracker every 15 minutes
|
||||||
|
|
Loading…
Reference in a new issue