新手问题 服务器配置

cbdfocus · September 01, 2015 · Last by kgen replied at September 01, 2015 · 1620 hits

小白又来求教了~~

需求

一个 app 跑在 8000 端口,想要通过 myapp.com 来访问。

疑问

mac 上用的 Apache2 , 开启了 vhost, hosts 文件加了一行 127.0.0.1 myappp.com .

这种需求有什么名词来形容吗? Apache 具体要怎么配置呢?

反向代理。

nginx 做个反向代理。

Apache 做个反向代理。(然而这年头我早就不用 Apache 了)

Google "Apache Reverse Proxy". You will get it.

You need to Sign in before reply, if you don't have an account, please Sign up first.