Nginx, seafile and Referrer-Policy

Hello,

When I add add_header 'Referrer-Policy' 'no-referrer'; in /etc/nginx/sites-available/seafile.conf, I can’t no more log to my user session with Firefox (that works with Safari and I don’t try with IE). I get the error message “403 Forbidden : CSRF verification failed and the request has been stopped because the browser didn’t send header “Referer””.

Why and how to fix it ? In Firefox, I don’t change in about:config the default value “2” for the field network.http.sendRefererHeader.

Have a nice day.