摘要: 注: rewrite 只能对域名后边的除去传递的参数外的字符串起作用,并且要写全域名后面的部分,如: http://i.com:9090/php/midou/admin.php/index/login.html 要写成 rewrite ^/php/midou/admin.php(.*)$ /php/ 阅读全文
posted @ 2018-03-01 18:10 会飞的斧头 阅读(183) 评论(0) 推荐(0) 编辑
摘要: server { listen 9090; server_name i.com; root /Users/chong/Documents/www; # Load configuration files for the default server block. location / { index 阅读全文
posted @ 2018-03-01 18:07 会飞的斧头 阅读(210) 评论(0) 推荐(0) 编辑