SHARE
TWEET

Untitled

a guest Apr 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule mod_ssl.c>
  2.     <VirtualHost _default_:443>
  3.         ServerAdmin webmaster@localhost
  4.         ServerName mywebsite
  5.  
  6.         DocumentRoot /var/www/html
  7.  
  8.         ErrorLog ${APACHE_LOG_DIR}/error.log
  9.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  10.         SSLEngine on
  11.  
  12.         SSLCertificateFile /etc/letsencrypt/live/mywebsite.com/fullchain.pem
  13.         SSLCertificateKeyFile /etc/letsencrypt/live/mywebsite.com/privkey.pem
  14.         SSLCertificateChainFile /etc/letsencrypt/live/mywebsite.com/chain.pem
  15.  
  16.         <FilesMatch "\.(cgi|shtml|phtml|php)$">
  17.                 SSLOptions +StdEnvVars
  18.         </FilesMatch>
  19.         <Directory /usr/lib/cgi-bin>
  20.                 SSLOptions +StdEnvVars
  21.         </Directory>
  22.  
  23.     </VirtualHost>
  24. </IfModule>
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