Created
January 3, 2020 05:51
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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