Add referrer policy header
This commit is contained in:
parent
408d1cf7f4
commit
1069d95bba
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ http {
|
||||||
# HTTPS for the next 2 years: (read more on hstspreload.org)
|
# HTTPS for the next 2 years: (read more on hstspreload.org)
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
||||||
|
|
||||||
|
add_header Referrer-Policy "same-origin";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://peertube:9000;
|
proxy_pass http://peertube:9000;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
Loading…
Reference in a new issue