Skip to content

Instantly share code, notes, and snippets.

@cellobnu
Created June 30, 2016 17:32
Show Gist options
  • Save cellobnu/f24d7184a21582fbd2af61ef126cf334 to your computer and use it in GitHub Desktop.
Save cellobnu/f24d7184a21582fbd2af61ef126cf334 to your computer and use it in GitHub Desktop.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin [email protected]
ServerName camicie.com.br
ServerAlias www.camicie.com.br
DocumentRoot /var/www/html/
<Directory /var/www/html/>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/errorSSL.log
CustomLog ${APACHE_LOG_DIR}/accessSSL.log combined
SSLEngine on
SSLCertificateFile /home/admin/camicie_com_br.crt
SSLCertificateKeyFile /home/admin/camicie_com_br.key
SSLCACertificateFile /home/admin/intermediate.crt
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment