Advertisement
Guest User

fin

a guest
Dec 25th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /var/www
  5. <Directory />
  6. Options FollowSymLinks
  7. AllowOverride None
  8. </Directory>
  9. <Directory /var/www/>
  10. Options Indexes FollowSymLinks MultiViews
  11. AllowOverride All
  12. Order allow,deny
  13. allow from all
  14. </Directory>
  15.  
  16. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17. <Directory "/usr/lib/cgi-bin">
  18. AllowOverride None
  19. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  20. Order allow,deny
  21. Allow from all
  22. </Directory>
  23.  
  24. ErrorLog ${APACHE_LOG_DIR}/error.log
  25.  
  26. # Possible values include: debug, info, notice, warn, error, crit,
  27. # alert, emerg.
  28. LogLevel warn
  29.  
  30. CustomLog ${APACHE_LOG_DIR}/access.log combined
  31. </VirtualHost>
  32.  
  33. <VirtualHost *:443>
  34. DocumentRoot /var/www
  35. ServerName xy.no-ip.biz
  36. SSLEngine on
  37. # SSLCertificateFile /root/server.crt
  38. # SSLCertificateKeyFile /root/server.key
  39.  
  40. SSLCertificateFile /etc/letsencrypt/archive/xy.no-ip.biz/cert1.pem
  41. SSLCertificateKeyFile /etc/letsencrypt/archive/xy.no-ip.biz/privkey1.pem
  42. SSLCertificateChainFile /etc/letsencrypt/archive/xy.no-ip.biz/chain1.pem
  43.  
  44. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement