服务器端用Nginx反向代理nodejs,并在nginx.conf添加:d
server {
listen 80;
server_name nodejs.xxx.cc;
location / {
proxy_pass http://127.0.0.1:8080;
}
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
在proxy_pass下再加上:
通过域名访问不了,具体是什么错误,能提供完整域名么?
是不是域名没有备案,被阿里云ban掉?