Set a valid Referrer-Policy on nginx
Why it matters
The Referrer-Policy value is not one browsers recognise, so they ignore it and use their own default. Use a standard value such as strict-origin-when-cross-origin.
The fix
- Hide the application's copy and set one valid value, run sudo nginx -t and reload. Use fastcgi_hide_header for PHP-FPM.
nginx
proxy_hide_header Referrer-Policy; add_header Referrer-Policy "strict-origin-when-cross-origin" always;
Related
Scan your domain to see whether this applies to you.