# See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints # about virtual hosts. # # This is the Apache server configuration file providing SSL support. # It contains the configuration directives to instruct the server how to # serve pages over an https connection. For detailing information about these # directives see http://httpd.apache.org/docs/2.4/mod/mod_ssl.html # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # ## ## SSL Virtual Host Context ## # General setup for the virtual host DocumentRoot "/srv/www/htdocs" #ServerName www.example.com:443 #ServerAdmin webmaster@example.com ErrorLog /proc/self/fd/2 TransferLog /proc/self/fd/1 # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on # OCSP Stapling: # Enable/Disable OCSP for this virtual host. SSLUseStapling on # You can use per vhost certificates if SNI is supported. SSLCertificateFile /etc/apache2/ssl.crt/server.crt SSLCertificateKeyFile /etc/apache2/ssl.key/server.key #SSLCertificateChainFile /etc/apache2/ssl.crt/vhost-example-chain.crt # Per-Server Logging: # The home of a custom SSL log file. Use this when you want a # compact non-error SSL logfile on a virtual host basis. CustomLog /proc/self/fd/1 ssl_combined SSLProtocol all -SSLv2 -SSLv3 RewriteEngine on RewriteOptions inherit SSLProxyEngine on