Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerAdmin webmaster@localhost
  4. ServerName pixelboii.wtf
  5. ServerAlias www.pixelboii.wtf
  6. DocumentRoot /var/www/main
  7. <Location /chat>
  8. ProxyPass http://178.62.81.201:3000/
  9. ProxyPassReverse http://178.62.81.201:3000/
  10. </Location>
  11. <Location /socket.io>
  12. ProxyPass http://178.62.81.201:3000/socket.io
  13. ProxyPassReverse http://178.62.81.201:3000/socket.io
  14. </Location>
  15. ErrorLog ${APACHE_LOG_DIR}/error.log
  16. CustomLog ${APACHE_LOG_DIR}/access.log combined
  17.  
  18. SSLCertificateFile /etc/letsencrypt/live/pixelboii.wtf/fullchain.pem
  19. SSLCertificateKeyFile /etc/letsencrypt/live/pixelboii.wtf/privkey.pem
  20. Include /etc/letsencrypt/options-ssl-apache.conf
  21. </VirtualHost>
  22. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement