Apache proxy / port forwarding
-
打開module
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so
-
設定virtual host
<VirtualHost *:80> ServerName xxx.dabinn.net ProxyPass / http://localhost:12345/ ProxyPassReverse / http://localhost:12345/ </VirtualHost>