eakteam New Member Jan 14, 2024 #1 Jan 14, 2024 #1 Is there any way to access web admin through a domain/subdomain directly without putting the port :7080 at the end? E.x: ols.domain.com Maybe some kind of proxy or something? Any idea?
Is there any way to access web admin through a domain/subdomain directly without putting the port :7080 at the end? E.x: ols.domain.com Maybe some kind of proxy or something? Any idea?
Cold-Egg Administrator Jan 15, 2024 #2 Jan 15, 2024 #2 Sure you can. 1. Create a new VH with the domain you want 2. Apply SSL for it and set it on the virtual host level 3. Setup a web server external application(https://docs.openlitespeed.org/docs/advanced/proxy#setting-up-openlitespeed-as-a-reverse-proxy) Code: extprocessor webadmin { type proxy address https://YOUR_DOMAIN:8090 maxConns 100 pcKeepAliveTimeout 60 initTimeout 60 retryTimeout 0 respBuffer 0 } 4. Set up rewrite rules to proxy to the port 8090 at the virtual host level. Code: REWRITERULE ^(.*)$ HTTPS://webadmin/$1 [P] Check https://docs.openlitespeed.org/docs/advanced/proxy if you need more details about the proxy setup. Last edited: Jan 15, 2024
Sure you can. 1. Create a new VH with the domain you want 2. Apply SSL for it and set it on the virtual host level 3. Setup a web server external application(https://docs.openlitespeed.org/docs/advanced/proxy#setting-up-openlitespeed-as-a-reverse-proxy) Code: extprocessor webadmin { type proxy address https://YOUR_DOMAIN:8090 maxConns 100 pcKeepAliveTimeout 60 initTimeout 60 retryTimeout 0 respBuffer 0 } 4. Set up rewrite rules to proxy to the port 8090 at the virtual host level. Code: REWRITERULE ^(.*)$ HTTPS://webadmin/$1 [P] Check https://docs.openlitespeed.org/docs/advanced/proxy if you need more details about the proxy setup.
eakteam New Member Jan 15, 2024 #3 Jan 15, 2024 #3 Thank you so much... All i needed was this: webadmin { It is working perfectly! THanks