we don't need this IE 10 tag any more, see

http://stackoverflow.com/questions/26346917/why-use-x-ua-compatible-ie-edge-anymore
This commit is contained in:
Jeff Atwood 2017-03-31 00:12:07 -07:00
parent b6e9871b4b
commit 2fd1c49b88

View File

@ -63,13 +63,6 @@ server {
# path to discourse's public directory
set $public /var/www/discourse/public;
# Prevent Internet Explorer 10 "compatibility mode", which breaks Discourse.
# If other subdomains under your domain are supposed to use Internet Explorer Compatibility mode,
# it may be used for this one too, unless you explicitly tell IE not to use it. Alternatively,
# some people have reported having compatibility mode "stuck" on for some reason.
# (This will also prevent compatibility mode in IE 8 and 9, but those browsers aren't supported anyway.
add_header X-UA-Compatible "IE=edge";
# without weak etags we get zero benefit from etags on dynamically compressed content
# further more etags are based on the file in nginx not sha of data
# use dates, it solves the problem fine even cross server