mirror of
https://yerbamate.ml/nutomic/peertube.social
synced 2024-11-25 04:58:20 -05:00
Add referrer policy header
This commit is contained in:
parent
408d1cf7f4
commit
1069d95bba
@ -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 New Issue
Block a user