随笔分类 - nginx
摘要:在nginx对应项目的conf配置文件中修改: location / { # 跨域 add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_
阅读全文
摘要:在nginx对应项目的配置文件中修改 location / { index index.php index.html error/index.html; # !!!url重写!!! if (!-e $request_filename) { # 注意 if 后面有空格 rewrite ^/index.
阅读全文

浙公网安备 33010602011771号