修改配置文件: /user/local/nginx/conf/nginx.conf
server {
listen 80;
server_name www.123.com;
location / {
proxy_pass http://127.0.0.1:8080;
root html;
index index.html index.htm;
}
}
修改hosts文件
在C:WindowsSystem32driversetchosts文件最后一行添加如下内容
127.0.0.1 www.123.com
如果你只是等待,发生的事情只会是你变老了。



