Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:*>
- <Proxy *>
- Allow from localhost
- </Proxy>
- SSLCertificateFile "/etc/httpd/conf/keys/privkey.pem"
- SSLCertificateKeyFile "/etc/httpd/conf/keys/fullchain.pem"
- RewriteCond %{HTTP:Upgrade} =websocket
- RewriteRule /tools/(.*) ws://localhost:3838/
- RewriteCond %{HTTP:Upgrade} !=websocket
- RewriteRule /tools/(.*) http://localhost:3838/
- ProxyPass /tools/ http://localhost:3838/
- ProxyPassReverse /tools/ http://localhost:3838/
- </VirtualHost>
Add Comment
Please, Sign In to add comment