Guest User

Untitled

a guest
Jan 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName carmensteffens.us
  3. ServerAlias www.carmensteffens.us
  4.  
  5. ServerAdmin webmaster@localhost
  6. DocumentRoot /var/www/web-v2/public_html
  7.  
  8. ErrorLog /var/www/web-v2/logs/csusa_error.log
  9. CustomLog /var/www/web-v2/logs/csusa_access.log combined
  10.  
  11. <Directory "/var/www/web-v2/public_html">
  12. Options All
  13. AllowOverride All
  14. Allow from all
  15. </Directory>
  16.  
  17. Include /var/www/web-v2/public_html/public/assets/carmen/_default/directives.conf
  18. Include /var/www/web-v2/public_html/public/assets/carmen/us/directives.conf
  19. RewriteEngine on
  20. RewriteCond %{SERVER_NAME} =www.carmensteffens.us [OR]
  21. RewriteCond %{SERVER_NAME} =carmensteffens.us
  22. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  23. </VirtualHost>
  24.  
  25. <IfModule mod_ssl.c>
  26. <VirtualHost *:443>
  27. ServerName carmensteffens.us
  28. ServerAlias www.carmensteffens.us
  29.  
  30. ServerAdmin webmaster@localhost
  31. DocumentRoot /var/www/web-v2/public_html
  32.  
  33. ErrorLog /var/www/web-v2/logs/csusa_error.log
  34. CustomLog /var/www/web-v2/logs/csusa_access.log combined
  35.  
  36. <Directory "/var/www/web-v2/public_html">
  37. Options All
  38. AllowOverride All
  39. Allow from all
  40. </Directory>
  41.  
  42. Include /var/www/web-v2/public_html/public/assets/carmen/_default/directives.conf
  43. Include /var/www/web-v2/public_html/public/assets/carmen/us/directives.conf
  44. SSLCertificateFile /etc/letsencrypt/live/carmensteffens.us/cert.pem
  45. SSLCertificateKeyFile /etc/letsencrypt/live/carmensteffens.us/privkey.pem
  46. Include /etc/letsencrypt/options-ssl-apache.conf
  47. SSLCertificateChainFile /etc/letsencrypt/live/carmensteffens.us/chain.pem
  48. </VirtualHost>
  49. </IfModule>
Add Comment
Please, Sign In to add comment