Guest User

Untitled

a guest
May 27th, 2017
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. SSLPassPhraseDialog builtin`
  2. SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
  3. SSLStaplingCache shmcb:/var/run/ocsp(128000)
  4. SSLSessionCacheTimeout 300
  5. #SSLMutex default
  6. SSLRandomSeed startup file:/dev/urandom 256
  7. SSLRandomSeed connect builtin
  8. SSLCryptoDevice builtin
  9. <VirtualHost *:80>
  10. ServerName seedbox.domain.com
  11. Redirect permanent / https://seedbox.domain.com
  12. </VirtualHost>
  13. <VirtualHost *:443>
  14. ServerName seedbox.domain.com
  15. Options +Indexes +MultiViews +FollowSymLinks
  16. SSLEngine on
  17. DocumentRoot "/srv/rutorrent/home"
  18. <Directory "/srv/rutorrent/home/">
  19. Options +Indexes +FollowSymLinks +MultiViews
  20. AllowOverride All AuthConfig
  21. Order allow,deny
  22. Allow from all
  23. AuthType Digest
  24. AuthName "rutorrent"
  25. AuthUserFile '/etc/htpasswd'
  26. Require valid-user
  27. </Directory>
  28. SSLEngine on
  29. #SSLProtocol all -SSLv2
  30. SSLProtocol all -SSLv3 -SSLv2 -TLSv1 -TLSv1.1
  31. #SSLCipherSuite ALL:!ADH:!EX45343:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
  32. SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256
  33. SSLHonorCipherOrder on
  34. SSLCompression off
  35. SSLSessionTickets off
  36. SSLUseStapling on
  37. SSLStaplingResponderTimeout 5
  38. SSLStaplingReturnResponderErrors off
  39. SSLCertificateFile /etc/letsencrypt/live/seedbox.domain.com/cert.pem
  40. SSLCertificateKeyFile /etc/letsencrypt/live/seedbox.domain.com/privkey.pem
  41. SSLCertificateChainFile /etc/letsencrypt/live/seedbox.domain.com/chain.pem
  42. Header always set Strict-Transport-Security "max-age=15768000"
  43. SetEnvIf User-Agent ".*MSIE.*" \
  44. nokeepalive ssl-unclean-shutdown \
  45. downgrade-1.0 force-response-1.0
  46.  
  47. <Proxy *>
  48. Require all granted
  49. </Proxy>
  50.  
  51.  
  52.  
  53. SCGIMount /username 127.0.0.1:53412
  54. </Virtualhost>
Advertisement
Add Comment
Please, Sign In to add comment