Advertisement
vitaljano

cvetochnik.com-le-ssl.conf

Mar 21st, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. DocumentRoot /var/cvetochnik
  4. ServerName cvetochnik.com
  5. ServerAlias www.cvetochnik.com
  6. ServerAdmin webmaster@localhost
  7. <Directory />
  8. Options FollowSymLinks
  9. AllowOverride None
  10. </Directory>
  11. <Directory /var/cvetochnik/>
  12. Options Indexes FollowSymLinks MultiViews
  13. AllowOverride None
  14. Order allow,deny
  15. allow from all
  16. </Directory>
  17. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. <Directory "/usr/lib/cgi-bin">
  19. AllowOverride None
  20. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. Order allow,deny
  22. Allow from all
  23. </Directory>
  24. ErrorLog /var/log/apache2/error.log
  25. LogLevel warn
  26. CustomLog /var/log/apache2/access.log combined
  27. Alias /doc/ "/usr/share/doc/"
  28. <Directory "/usr/share/doc/">
  29. Options Indexes MultiViews FollowSymLinks
  30. AllowOverride None
  31. Order deny,allow
  32. Deny from all
  33. Allow from 127.0.0.0/255.0.0.0 ::1/128
  34. </Directory>
  35. <Directory "/var/cvetochnik">
  36. allow from all
  37. Options +Indexes
  38. </Directory>
  39. SSLCertificateFile /etc/letsencrypt/live/cvetochnik.com/cert.pem
  40. SSLCertificateKeyFile /etc/letsencrypt/live/cvetochnik.com/privkey.pem
  41. Include /etc/letsencrypt/options-ssl-apache.conf
  42. SSLCertificateChainFile /etc/letsencrypt/live/cvetochnik.com/chain.pem
  43. </VirtualHost>
  44. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement