nginx反向代理后,图片被带上x-content-type-options信息,其余浏览器都能展示,就IE不行。 为了解决这个问题,给nginx 加上去掉信息头的配置 proxy_hide_header X-Content-Type-Options ; 重启nginx 参考:https://www
1.先安装依赖包,防止后面乱七八糟的问题 yum -y install wget pcre openssl* gd gd2 gd-devel gd2-devel gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncur...
default_type application``/octet-stream``;sendfile on;keepalive_timeout 65;log_format main ``'$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"'``;...