SERVER
X-UA-Compatible 서버에서 설정하기
Apache 에서 설정

<IfModule mod_setenvif.c>
  <IfModule mod_headers.c>
    BrowserMatch MSIE ie
    Header set X-UA-Compatible "IE=Edge,chrome=1" env=ie
  </IfModule>
</IfModule>
<IfModule mod_headers.c>
  Header append Vary User-Agent
</IfModule>


Nginx 설정

server {
  #...
  add_header X-UA-Compatible "IE=Edge,chrome=1";
}


IIS 7.0이상 설정

<configuration>
  <system.webServer>
     <httpProtocol>
        <customHeaders>
           <add name="X-UA-Compatible" value="IE=edge,chrome=1" />
        </customHeaders>
     </httpProtocol>
  </system.webServer>
</configuration>

이 게시물을

공유하기

SEARCH

MENU NAVIGATION