Advertisement
Guest User

Service Unavailable

a guest
Oct 8th, 2021
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName <meine-domain>
  3.  
  4. ErrorLog ${APACHE_LOG_DIR}/error.log
  5. CustomLog ${APACHE_LOG_DIR}/access.log combined
  6.  
  7. RewriteEngine on
  8. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  9. </VirtualHost>
  10.  
  11. <VirtualHost *:443>
  12. ServerName <meine-domain>
  13.  
  14. SSLEngine On
  15. SSLCertificateFile /etc/letsencrypt/archive/quickplayhost.com/cert.pem
  16. SSLCertificateKeyFile /etc/letsencrypt/archive/quickplayhost.com/privkey.pem
  17. SSLCertificateChainFile /etc/letsencrypt/archive/quickplayhost.com/fullchain.pem
  18.  
  19. ProxyPass / http://127.0.0.1:5000/
  20. ProxyPassReverse / http://127.0.0.1:5000/
  21.  
  22. ErrorLog ${APACHE_LOG_DIR}/error.log
  23. CustomLog ${APACHE_LOG_DIR}/access.log combined
  24. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement