Created
June 15, 2022 06:01
-
-
Save mayankzalavadia/6e33cb963ecf70ee545fc901367a964f to your computer and use it in GitHub Desktop.
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> | |
ServerAdmin admin@yourdomain.com | |
DocumentRoot /var/www/html/yourdomain.com | |
ServerAlias www.yourdomain.com | |
ServerName yourdomain.com | |
ProxyPreserveHost On | |
ProxyPass / http://yourdomain.com:3000/ | |
ProxyPassReverse / http://yourdomain.com:3000/ | |
<Directory /var/www/html/yourdomain.com> | |
AllowOverride All | |
Options Indexes FollowSymLinks | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment