2
0
Fork 0
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:
Rafael dos Santos Silva 2017-06-28 02:25:41 -03:00
parent d4dbcca91b
commit 095a131163

View file

@ -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;