kukukk

vhost-default.conf

Jan 11th, 2018
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerName localhost
  4. DocumentRoot /www
  5.  
  6. RemoteIPHeader X-Forwarded-For
  7.  
  8. Include /conf/*.conf
  9.  
  10. <Directory />
  11. Options FollowSymLinks
  12. AllowOverride None
  13. </Directory>
  14.  
  15. <Directory /www>
  16. Options FollowSymLinks
  17. AllowOverride None
  18. Require all granted
  19. </Directory>
  20.  
  21. SSLEngine on
  22.  
  23. SSLCertificateFile /letsencrypt/live/domain/cert.pem
  24. SSLCertificateKeyFile /letsencrypt/live/domain/privkey.pem
  25. SSLCertificateChainFile /letsencrypt/live/domain/chain.pem
  26.  
  27. ErrorLog ${APACHE_LOG_DIR}/error.log
  28. LogLevel debug
  29.  
  30. CustomLog ${APACHE_LOG_DIR}/access.log combined.
  31. </VirtualHost>
  32. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment