我在我的网站上使用nginx进行https连接,我需要一个到Http服务器的连接。为此,我使用了'Referrer-Policy‘'Origin’。但这在IE11中不起作用。当我在html页面中使用时,一切正常,但当我在nginx.conf中使用此命令时,什么也没有发生。为什么?
以下是我的配置: location /{
proxy_pass http://backends;
proxy_set_header X-Forward-For $remote_addr;
proxy_set_header Host $http_host;
client_max_body_size 10m;
client_body_buffer_size 2M;
proxy_send_timeout 900;
proxy_read_timeout 900;
proxy_buffer_size 2M;
proxy_buffers 4 2M;
proxy_busy_buffers_size 2M;
proxy_temp_file_write_size 2M;
proxy_connect_timeout 300s;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $server_name;
add_header 'Referrer-Policy' 'Origin';
}发布于 2020-10-11 22:49:16
多年来,除了安全修复外,Internet Explorer一直不受支持。
它是一个过时的浏览器,只有微软保留了下来,因为他们的客户使用的内部系统的数量在90年代设计时只考虑到了IE。
IE不支持Referrer-Policy HTTP标头。
https://stackoverflow.com/questions/59237993
复制相似问题