Reverse proxy with litespeed
Answered-
Thanks for the reply. This doc is for litespeed versions before 6.0 that dit not support ProxyPass. I tried the old but didn't work since I need to do them via ProxyPass because external server (backend) is via URL and not IP. 0 -
Thanks worked great, adapting the last tutorial. mkdir -p /etc/apache2/conf.d/userdata/std/2_4/USER/domain.com/ mkdir -p /etc/apache2/conf.d/userdata/ssl/2_4/USER/domain.com/ nano /etc/apache2/conf.d/userdata/std/2_4/USER/domain.com/proxy.conf nano /etc/apache2/conf.d/userdata/ssl/2_4/USER/domain.com/proxy.conf RewriteEngine on RewriteRule (.*) ProxyPassReverse / [P,L] ProxyPass / Rebuild the Apache configuration file, and restart LSWS: /scripts/buildhttpdconf /usr/local/lsws/bin/lswsctrl restart 0 -
I'm glad to hear that worked well!! 0 -
The link to the docs seems to be missing, not enough information in here to be useful.
0 -
Hi,
I was able to locate some documentation for setting up a Reverse Proxy in LiteSpeed. I will include the link below in case it helps:
https://docs.litespeedtech.com/lsws/cp/cpanel/rewrite-proxy/
0
Please sign in to leave a comment.
Comments
7 comments