Hi everyone, I am running a node.js app on port 3000 and am serving PHP on port 3001. Now I am trying to use Apache reverse proxy with the following .conf but it just does not work. What am I doing wrong?
<Directory "/Users/vrv/Sites/"> Options Indexes MultiViews Require all granted </Directory> LoadModule proxy_module libexec/apache2/mod_proxy.so LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so <Location "/blog/"> ProxyPass "http://127.0.0.1:3001/" ProxyPassReverse "http://127.0.0.1:3001/" </Location> <Location "/dapp/"> ProxyPass "http://127.0.0.1:3000/" ProxyPassReverse "http://127.0.0.0:3000/" </Location> -- Would you like to send me an encrypted message? I recommend GnuPG <https://gnupg.org/index.html> - you can find my public key here <https://pgp.mit.edu/pks/lookup?op=get&search=0x9EACB563201A65E2>.
