server {
listen 8080;
server_name gyxyl.com;
location / {
proxy_pass http://localhost:8081;
}
}
this is the
that I configured in nginx.127.0.0.1 gyxyl.com
this is configured by me in hosts, but accessing gyxyl.com shows that I cannot access