|  |      1est      2013-09-29 15:47:32 +08:00 这个属于最基础那一类问题吧。LZ有必要这么懒么。 | 
|  |      4coosir      2013-09-29 16:20:29 +08:00 修改nginx配置文件,比如默认的server监听80,照葫芦画瓢复制个改成其他端口 细节去搜索吧 | 
|  |      5felinx      2013-09-29 16:53:58 +08:00 | 
|  |      6timothyye      2013-09-29 17:11:20 +08:00 via Android 用耳机域名更方便一些,赞同楼上 | 
|  |      7timothyye      2013-09-29 17:11:35 +08:00 via Android 写错了,二级域名 | 
|  |      8109109      2013-09-29 17:27:16 +08:00 server { listen 80; server_name www.google; location / { root /www; index index.html index.htm; } } server { listen 8080; server_name www.google; location / { root /www/new; index index.html index.htm index.php; #autoindex on; #autoindex_exact_size off; #autoindex_localtime on; } } | 
|      9Lax      2013-09-29 17:46:30 +08:00 端口看起来很山寨,给人一种政府网站的感觉…… 对外服务一般还是用二级域名吧。 |