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