摘要:
注: rewrite 只能对域名后边的除去传递的参数外的字符串起作用,并且要写全域名后面的部分,如: http://i.com:9090/php/midou/admin.php/index/login.html 要写成 rewrite ^/php/midou/admin.php(.*)$ /php/ 阅读全文
摘要:
server { listen 9090; server_name i.com; root /Users/chong/Documents/www; # Load configuration files for the default server block. location / { index 阅读全文