立诚勿怠,格物致知
It's all about connecting the dots

标签:Apache

通过apache代理,将node服务与指定域名进行绑定

这篇文章应该算《CentOS7-配置Apache虚拟主机》的姊妹篇-_-。我用的操作系统是CentOS7,上网找了很多资料和代码demo,要么是用nginx而非apache实现请求转发的,要么就是通过apache将某个url路径与node服务进行绑定的。所以记录一下如何通过apache代理将node服务与指定域名进行绑定的方法,方便以后查阅。之所以不用nginx,是因为我的vps只有2g内存,已经用了一半内存了,鬼知道以后会不会还要装什么乱七八糟的东西,现在能少装些东西就少装些东西-_-。

CentOS7-配置Apache虚拟主机

With Apache, you can use virtual hosts to direct http traffic for a given domain name to a particular directory (i.e. the root directory of the website for the domain in the request). This feature is commonly used to host multiple websites, but it's suggested to using it for every website on your server including the first.

登录

找回密码

注册