Skip to content

Instantly share code, notes, and snippets.

@mayankzalavadia
Created June 15, 2022 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayankzalavadia/6e33cb963ecf70ee545fc901367a964f to your computer and use it in GitHub Desktop.
Save mayankzalavadia/6e33cb963ecf70ee545fc901367a964f to your computer and use it in GitHub Desktop.
<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