Skip to content

Instantly share code, notes, and snippets.

@pritdeveloper
Last active July 29, 2019 20:08
Show Gist options
  • Save pritdeveloper/6f9eb3a67f9689011db6d6c1341e1323 to your computer and use it in GitHub Desktop.
Save pritdeveloper/6f9eb3a67f9689011db6d6c1341e1323 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot /home/ubuntu/environment
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /home/ubuntu/environment>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
#ServerName singhs.work
DocumentRoot /home/ubuntu/environment
<Directory /home/ubuntu/environment>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment