SHARE
TWEET

Untitled

a guest Oct 21st, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:443>
  2.     ServerName www.great-blog.com
  3.     ServerAlias great-blog.com
  4.                 DocumentRoot "/usr/local/www/apache24/data/"
  5.     SSLEngine on
  6.  
  7.     SSLCertificateFile "/usr/local/etc/letsencrypt/live/great-blog.com/cert.pem"
  8.     SSLCertificateKeyFile "/usr/local/etc/letsencrypt/live/great-blog.com/privkey.pem"
  9.     SSLCertificateChainFile "/usr/local/etc/letsencrypt/live/great-blog.com/fullchain.pem"
  10.  
  11. <FilesMatch "\.(cgi|shtml|phtml|php)$">
  12.     SSLOptions +StdEnvVars
  13. </FilesMatch>
  14.  
  15. <Directory "/usr/local/www/apache24/cgi-bin">
  16.     SSLOptions +StdEnvVars
  17. </Directory>
  18.  
  19.     BrowserMatch "MSIE [2-5]" \
  20.         nokeepalive ssl-unclean-shutdown \
  21.         downgrade-1.0 force-response-1.0
  22.  
  23.     CustomLog "/var/log/apache/httpd-ssl_request.log" \
  24.           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  25.  
  26.     <Directory "/usr/local/www/apache24/data/">
  27.             Options Indexes FollowSymLinks MultiViews
  28.         #AllowOverride controls what directives may be placed in .htaccess files.      
  29.                         AllowOverride All
  30.         #Controls who can get stuff from this server file
  31.                         Require all granted
  32.         </Directory>
  33.        
  34.     ErrorLog "/var/log/apache/yourdomain.ssl-error.log"
  35.     CustomLog "/var/log/apache/yourdomain.ssl-access_log" combined
  36.  
  37. </VirtualHost>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top