mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: Add default Referrer Policy header
This commit is contained in:
parent
d4dbcca91b
commit
095a131163
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue