diff --git a/templates/nginx.conf b/templates/nginx.conf index 119d441..61e3e68 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -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;