ServerName www.yourdomain.com
ProxyPreserveHost On
# 将所有请求转发到 localhost:3000上,并保持请求路径不变
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
# 将/app1子路径的请求 转发到 localhost:3000上,并保持请求路径不变
ProxyPass /app1 http://localhost:3000/app1
ProxyPassReverse /app1 http://localhost:3000/app1
/* Your code... */
# Change log as per server # ErrorLog ${APACHE_LOG_DIR}/error.log # CustomLog ${APACHE_LOG_DIR}/access.log combined