mirror of
https://github.com/discourse/discourse.git
synced 2025-06-15 09:14:54 +08:00
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:
@ -63,13 +63,6 @@ server {
|
|||||||
# path to discourse's public directory
|
# path to discourse's public directory
|
||||||
set $public /var/www/discourse/public;
|
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
|
# 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
|
# further more etags are based on the file in nginx not sha of data
|
||||||
# use dates, it solves the problem fine even cross server
|
# use dates, it solves the problem fine even cross server
|
||||||
|
Reference in New Issue
Block a user