Skip to content

Instantly share code, notes, and snippets.

@tdurieux
Created October 28, 2014 13:46
Show Gist options
  • Save tdurieux/62ad6e8265eb3cbca75e to your computer and use it in GitHub Desktop.
Save tdurieux/62ad6e8265eb3cbca75e to your computer and use it in GitHub Desktop.
\blue Proxy
<VirtualHost *:80>
ServerName demo.bluelatex.org
ProxyPreserveHost On
ProxyPass / http://localhost:18080/ retry=0
ProxyPassReverse / http://localhost:18080
</VirtualHost>
<VirtualHost *:443>
ServerName demo.bluelatex.org
ProxyPreserveHost On
ProxyPass / http://localhost:18080/ retry=0
ProxyPassReverse / http://localhost:18080
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/conf/certificat.crt
SSLCertificateKeyFile /etc/apache2/conf/ssl.key
SSLCertificateChainFile /etc/apache2/conf/sub.class1.server.ca.pem
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment