Skip to content

Instantly share code, notes, and snippets.

@orb
Created January 31, 2010 01:11
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 orb/290820 to your computer and use it in GitHub Desktop.
Save orb/290820 to your computer and use it in GitHub Desktop.
NameVirtualHost *:443
SSLCertificateFile /path/to/server.crt
SSLCertificateKeyFile /path/to/server.key
<VirtualHost *:443>
ServerName foo.nostacktrace.com
SSLEngine on
ProxyRequests off
ProxyPass / http://localhost:8081/
ProxyPassReverse / http://localhost:8081/
</VirtualHost>
<VirtualHost *:443>
ServerName bar.nostacktrace.com
SSLEngine on
ProxyRequests off
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment