简体   繁体   English

在共享主机上设置nodejs

[英]setting up nodejs on sharing host

how setting up nodejs on sharing host? 如何在共享主机上设置nodejs?
nodejs and git installed on my host and I access to ssh , but when I want to run my application , apache handle those routes. nodejs和git安装在我的主机上,我访问ssh,但是当我想运行我的应用程序时,apache处理这些路由。
I read some article but those said fix with httpd.conf and I don't access to httpd.conf 我读了一些文章,但是那些用httpd.conf修复了,我没有访问httpd.conf

If you have the proper permissions you can forward all the traffic from port 80 that apache handles to the port that your node app is running. 如果您具有适当的权限,则可以将apache处理的端口80的所有流量转发到运行节点应用程序的端口。 You can find examples on google if you search for keywords like apache, vhosts and reverse proxy. 如果您搜索apache,vhosts和reverse proxy等关键字,您可以在google上找到示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM