Browse Source

修改docker nginx配置 (#5542)

部署后css的content type为test/plain导致页面无法正常渲染css,需要修改nginx配置。
pull/5577/head
ToNewDay 6 years ago
committed by 陈帅
parent
commit
27d1fbba49
  1. 2
      docker/nginx.conf

2
docker/nginx.conf

@ -9,7 +9,7 @@ server {
gzip_disable "MSIE [1-6]\.";
root /usr/share/nginx/html;
include /etc/nginx/mime.types;
location / {
try_files $uri $uri/ /index.html;
}

Loading…
Cancel
Save