Advertisement
Guest User

Untitled

a guest
Jan 26th, 2019
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1.  
  2. <IfModule mod_ssl.c>
  3. <VirtualHost 45.33.78.146:443>
  4. ServerName www.arundelnewsnet.com
  5. ServerAlias arundelnewsnet.com
  6. DocumentRoot /var/www/html/clients/arundelNews
  7. ErrorLog /var/log/httpd/sites/arundelNewsNet/error.log
  8. CustomLog /var/log/httpd/sites/arundelNewsNet/requests.log combined
  9. RewriteEngine on
  10. # Some rewrite rules in this file were disabled on your HTTPS site,
  11. # because they have the potential to create redirection loops.
  12.  
  13. # RewriteCond %{SERVER_NAME} =www.arundelnewsnet.com [OR]
  14. # RewriteCond %{SERVER_NAME} =arundelnewsnet.com
  15. # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  16. Include /etc/letsencrypt/options-ssl-apache.conf
  17. SSLCertificateFile /etc/letsencrypt/live/arundelnewsnet.com/cert.pem
  18. SSLCertificateKeyFile /etc/letsencrypt/live/arundelnewsnet.com/privkey.pem
  19. SSLCertificateChainFile /etc/letsencrypt/live/arundelnewsnet.com/chain.pem
  20. </VirtualHost>
  21.  
  22. <VirtualHost [2600:3c03::f03c:91ff:fe54:d0c2]:443>
  23. ServerName www.arundelnewsnet.com
  24. ServerAlias arundelnewsnet.com
  25. DocumentRoot /var/www/html/clients/arundelNews
  26. ErrorLog /var/log/httpd/sites/arundelNewsNet/ipv6-error.log
  27. CustomLog /var/log/httpd/sites/arundelNewsNet/ipv6-requests.log combined
  28. RewriteEngine on
  29. # Some rewrite rules in this file were disabled on your HTTPS site,
  30. # because they have the potential to create redirection loops.
  31.  
  32. # RewriteCond %{SERVER_NAME} =www.arundelnewsnet.com [OR]
  33. # RewriteCond %{SERVER_NAME} =arundelnewsnet.com
  34. # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  35. Include /etc/letsencrypt/options-ssl-apache.conf
  36. SSLCertificateFile /etc/letsencrypt/live/arundelnewsnet.com/cert.pem
  37. SSLCertificateKeyFile /etc/letsencrypt/live/arundelnewsnet.com/privkey.pem
  38. SSLCertificateChainFile /etc/letsencrypt/live/arundelnewsnet.com/chain.pem
  39. </VirtualHost>
  40.  
  41.  
  42.  
  43. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement