Advertisement
Guest User

apache-vhost.conf

a guest
Nov 29th, 2021
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <VirtualHost *:443>
  2. SSLEngine on
  3. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
  4.  
  5. ServerName matrix.archgang.xyz
  6. ServerAdmin [email protected]
  7.  
  8. RequestHeader set X-Forwarded-Proto "https"
  9.  
  10. ProxyRequests Off
  11. ProxyVia Off
  12.  
  13. <Proxy *>
  14. Require all granted
  15. </Proxy>
  16.  
  17. ProxyPass / http://127.0.0.1:8008/ nocanon
  18. ProxyPassReverse / http://127.0.0.1:8008/#
  19.  
  20. SSLCertificateFile /etc/letsencrypt/live/matrix.archgang.xyz/fullchain.pem
  21. SSLCertificateKeyFile /etc/letsencrypt/live/matrix.archgang.xyz/privkey.pem
  22. </VirtualHost>
  23.  
  24. <VirtualHost *:8448>
  25. SSLEngine on
  26. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
  27.  
  28. ServerName archgang.xyz
  29. ServerAdmin [email protected]
  30.  
  31. RequestHeader set X-Forwarded-Proto "https"
  32.  
  33. ProxyRequests Off
  34. ProxyVia Off
  35.  
  36. <Proxy *>
  37. Require all granted
  38. </Proxy>
  39.  
  40. ProxyPass / http://127.0.0.1:8008/ nocanon
  41. ProxyPassReverse / http://127.0.0.1:8008/#
  42.  
  43. SSLCertificateFile /etc/letsencrypt/live/matrix.archgang.xyz/fullchain.pem
  44. SSLCertificateKeyFile /etc/letsencrypt/live/matrix.archgang.xyz/privkey.pem
  45. </VirtualHost>
  46.  
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement