配置文件
server {
listen 8899;
server_name tc.com;
location / {
root html;
index index.html index.htm;
}
}
浏览器访问tc.com:8899没用,但是使用localhost:8899有用,这是为什么?
配置文件
server {
listen 8899;
server_name tc.com;
location / {
root html;
index index.html index.htm;
}
}
浏览器访问tc.com:8899没用,但是使用localhost:8899有用,这是为什么?
2 回答1.1k 阅读
1 回答894 阅读✓ 已解决
1 回答760 阅读
1 回答997 阅读
750 阅读
忘改hosts了