mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
FEATURE: Add default Referrer Policy header
This commit is contained in:
parent
d4dbcca91b
commit
095a131163
|
@ -83,6 +83,7 @@ server {
|
|||
location / {
|
||||
root $public;
|
||||
add_header ETag "";
|
||||
add_header Referrer-Policy 'no-referrer-when-downgrade';
|
||||
|
||||
# auth_basic on;
|
||||
# auth_basic_user_file /etc/nginx/htpasswd;
|
||||
|
|
Loading…
Reference in New Issue
Block a user