摘要:
在nginx对应项目的conf配置文件中修改: location / { # 跨域 add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_ 阅读全文
posted @ 2021-01-05 15:21
动灵
阅读(81)
评论(0)
推荐(0)
摘要:
在nginx对应项目的配置文件中修改 location / { index index.php index.html error/index.html; # !!!url重写!!! if (!-e $request_filename) { # 注意 if 后面有空格 rewrite ^/index. 阅读全文
posted @ 2021-01-05 15:19
动灵
阅读(968)
评论(0)
推荐(0)

浙公网安备 33010602011771号