Commit a1b5de21 authored by wuyongsheng's avatar wuyongsheng

Merge branch 'feat-ng' into 'staging'

feat: nginx文件修改

See merge request !8
parents 5b12e86d 676a0b5d
...@@ -17,8 +17,8 @@ http { ...@@ -17,8 +17,8 @@ http {
index index.html index.htm; index index.html index.htm;
resolver 127.0.0.11 valid=10s; resolver 127.0.0.11 valid=10s;
location / { location / {
try_files $uri /wap/index.html; try_files $uri /v3/index.html;
index /wap/index.html; index /v3/index.html;
#add_header Access-Control-Allow-Origin *; #add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment