Skip to content

Instantly share code, notes, and snippets.

@dhasenan
Created December 11, 2017 22:37
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 dhasenan/a04f364dbe912b9b3145a01aa8e89958 to your computer and use it in GitHub Desktop.
Save dhasenan/a04f364dbe912b9b3145a01aa8e89958 to your computer and use it in GitHub Desktop.
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName git.ikeran.org
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
ProxyPreserveHost On
SSLCertificateFile /etc/letsencrypt/live/git.ikeran.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/git.ikeran.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment