SHARE
TWEET

Untitled

a guest Nov 19th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerAdmin jeda00@vse.cz
  3.     DocumentRoot /var/www/html
  4.  
  5.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  6.  
  7.     RewriteEngine on
  8.     RewriteCond %{SERVER_NAME} =bis037.vse.cz
  9.     RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  10. </VirtualHost>
  11.  
  12. <VirtualHost *:443>
  13.     ServerAdmin jeda00@vse.cz
  14.     DocumentRoot /var/www/html
  15.  
  16.     ErrorLog ${APACHE_LOG_DIR}/error.log
  17.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  18.  
  19.     ServerName bis037.vse.cz
  20.     SSLCertificateFile /etc/letsencrypt/live/bis037.vse.cz/fullchain.pem
  21.     SSLCertificateKeyFile /etc/letsencrypt/live/bis037.vse.cz/privkey.pem
  22.  
  23.     SSLEngine on
  24.  
  25.     SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1 -TLSv1.2
  26.     SSLHonorCipherOrder     off
  27.     SSLSessionTickets       off
  28.     SSLCipherSuite          ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
  29.     SSLHonorCipherOrder     on
  30.     SSLCompression          off
  31.  
  32.     SSLOptions +StrictRequire
  33.  
  34.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
  35.     LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
  36. </VirtualHost>
  37.  
  38.  
  39. SSLUseStapling On
  40. SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
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