mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
Merge pull request #1007 from Thunderbottom/referrer-policy
fix: set referrer-policy header in nginx config
This commit is contained in:
commit
d467cf54c1
@ -52,6 +52,7 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header Referrer-Policy "same-origin, strict-origin-when-cross-origin";
|
||||
|
||||
location /assets {
|
||||
try_files $uri =404;
|
||||
|
Loading…
Reference in New Issue
Block a user