Created
December 17, 2015 11:33
-
-
Save wtrocki/242c8db93e2a4215ed62 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
NameVirtualHost *:80 | |
NameVirtualHost *:443 | |
<VirtualHost *:80> | |
DocumentRoot /dev/null | |
ProxyRequests off | |
ProxyPreserveHost On | |
ServerName npm.skunkhenry.com | |
<Location /> | |
ProxyPass http://localhost:4873/ | |
ProxyPassReverse http://localhost:4873/ | |
Allow from all | |
</Location> | |
</VirtualHost> | |
<VirtualHost *:443> | |
DocumentRoot /dev/null | |
ProxyRequests off | |
ProxyPreserveHost On | |
ServerName npm.skunkhenry.com | |
SSLEngine on | |
SSLCertificateFile /etc/httpd/certs/ca.crt | |
SSLCertificateKeyFile /etc/httpd/certs/ca.key | |
<Location /> | |
ProxyPass http://localhost:4873/ | |
ProxyPassReverse http://localhost:4873/ | |
Allow from all | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment