Add referrer policy header

This commit is contained in:
Felix Ableitner 2019-04-18 14:45:58 +02:00
parent 408d1cf7f4
commit 1069d95bba
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ http {
# HTTPS for the next 2 years: (read more on hstspreload.org)
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
add_header Referrer-Policy "same-origin";
location / {
proxy_pass http://peertube:9000;
proxy_set_header X-Real-IP $remote_addr;