Skip to content

Instantly share code, notes, and snippets.

@manishprajapatidev
Created January 3, 2020 05:51
Show Gist options
  • Save manishprajapatidev/28812db24fe72fde470c1fc543ccd50b to your computer and use it in GitHub Desktop.
Save manishprajapatidev/28812db24fe72fde470c1fc543ccd50b to your computer and use it in GitHub Desktop.
Running domain with slash to your app running with port like react js deployment using node js.
<VirtualHost *:80>
#Set Server Name
ServerName www.website.com
#Alias url to port
ProxyPass /admin http://localhost:4380/
ProxyPassReverse /admin http://localhost:4380/
#Alias url to port
ProxyPass /sub-admin http://localhost:4385/
ProxyPassReverse /sub-admin http://localhost:4385/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment