Guest User

Untitled

a guest
Nov 18th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <VirtualHost *:*>
  2. <Proxy *>
  3. Allow from localhost
  4. </Proxy>
  5. SSLCertificateFile "/etc/httpd/conf/keys/privkey.pem"
  6. SSLCertificateKeyFile "/etc/httpd/conf/keys/fullchain.pem"
  7. RewriteCond %{HTTP:Upgrade} =websocket
  8. RewriteRule /tools/(.*) ws://localhost:3838/
  9. RewriteCond %{HTTP:Upgrade} !=websocket
  10. RewriteRule /tools/(.*) http://localhost:3838/
  11. ProxyPass /tools/ http://localhost:3838/
  12. ProxyPassReverse /tools/ http://localhost:3838/
  13. </VirtualHost>
Add Comment
Please, Sign In to add comment