Skip to content

Instantly share code, notes, and snippets.

@chrisking
Created July 13, 2017 22:27
Show Gist options
  • Select an option

  • Save chrisking/47f7b9a7e0da09452dfb6cceff0f82bc to your computer and use it in GitHub Desktop.

Select an option

Save chrisking/47f7b9a7e0da09452dfb6cceff0f82bc to your computer and use it in GitHub Desktop.
simple apache file
<VirtualHost *:80>
ServerName www.helmetfit.com
ServerAlias helmetfit.com *.helmetfit.com
DocumentRoot /var/client_sites/helmetfit
<Directory />
Options FollowSymLinks
Require all granted
AllowOverride All
</Directory>
<Location />
Require all granted
</Location>
</VirtualHost>
<VirtualHost *:443>
ServerName www.helmetfit.com
ServerAlias helmetfit.com *.helmetfit.com
DocumentRoot /var/client_sites/helmetfit
<Directory />
Options FollowSymLinks
Require all granted
AllowOverride All
</Directory>
<Location />
Require all granted
</Location>
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/helmetfit.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/helmetfit.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/helmetfit.com/fullchain.pem
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment