Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/apache2/sites-available/eg.conf (bottom of file):
- # ----------------------------------------------------------------------------------
- # Set up our SSL virtual host
- # ----------------------------------------------------------------------------------
- #Listen 443
- <VirtualHost *:7443>
- DocumentRoot "/openils/var/web"
- ServerName localhost:443
- ServerAlias 127.0.0.1:443
- SSLEngine on
- SSLProxyEngine on # required for ErrorDocument 404 on SSL connections
- SSLHonorCipherOrder On
- SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
- # If you don't have an SSL cert, you can create self-signed
- # certificate and key with:
- # openssl req -new -x509 -nodes -out server.crt -keyout server.key
- SSLCertificateFile ssl/server.crt
- SSLCertificateKeyFile ssl/server.key
- SSLCACertificateFile ssl/ca.crt
- # - absorb the shared virtual host settings
- Include eg_vhost.conf
- # help IE along with SSL pages
- SetEnvIf User-Agent ".*MSIE [1-5].*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- SetEnvIf User-Agent ".*MSIE [6-9].*" \
- ssl-unclean-shutdown
- </VirtualHost>
- # ----------------------------------------------------------------------------------
- # Set up our main virtual host
- # Port 80 comes after 443 to avoid "unknown protocol speaking not SSL to HTTPS port!?"
- # errors, per http://wiki.apache.org/httpd/InternalDummyConnection
- # ----------------------------------------------------------------------------------
- <VirtualHost *:7080>
- ServerName localhost:80
- ServerAlias 127.0.0.1:80
- DocumentRoot /openils/var/web/
- DirectoryIndex index.html index.xhtml
- # - absorb the shared virtual host settings
- Include eg_vhost.conf
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement