Configuration file
server {
listen 8899;
server_name tc.com;
location / {
root html;
index index.html index.htm;
}
}
It is useless to access tc.com:8899 through the browser, but it is useful to use localhost:8899. Why is this?
给我你的怀抱2017-05-16 17:11:05
I suspect you don’t know the difference between DNS and domain name and server_name