Browsed by
Category: Rewrite Rules

How to install NextCloud on CyberPanel with Docker

How to install NextCloud on CyberPanel with Docker

NextCloud is open source software for mainly handling file hosting services. In this article we will see how to install NextCloud on CyberPanel with Docker. We will create NextCloud Docker container and then use rewirte rules to proxy traffic to this container. Step 1: Open Docker on CyberPanel In First Step open CyberPanel dashboard on your browser and look for Docker Manager, under Docker Manager you can click any link such as Manage Images, and it will redirect you to installation page…

Read More Read More

Reverse Proxy Traffic to Docker Container on CyberPanel

Reverse Proxy Traffic to Docker Container on CyberPanel

We’ve recently released Docker Manager.  If you are running a web application in your Docker Container you may want to reverse proxy traffic from main webserver (OpenLiteSpeed or LiteSpeed Web server Enterprise) to docker container.  This setup have few benefits, 2 of them are: Easily manage SSL from CyberPanel for the domain you are going to setup reverse proxy on. You can load balance between different containers. .. and more!   You might also be interesed in: HOW TO REMOVE…

Read More Read More

How to Setup CakePHP on CyberPanel/OpenLiteSpeed!

How to Setup CakePHP on CyberPanel/OpenLiteSpeed!

As we’ve already discussed that many people are now using CyberPanel for development/testing, and CakePHP is another popular and stable PHP frameworks that people love to develop their applications in.  Earlier we saw how we can setup CodeIgniter, Laravel and Symfony application on CyberPanel. In this article we will see on how to setup CakePHP environment for either development or production use. With CodeIgniter we didn’t have to use Composer, but unfortunately we will have to use Composer to create…

Read More Read More

How to write Rewrite rules for OpenLiteSpeed!

How to write Rewrite rules for OpenLiteSpeed!

Notice: If you are running version v1.7.0 or above please read this thread as well. OpenLiteSpeed follows apache style rewrite rules but with a slight difference. However to add rewrite rules you have to go to Webadmin console which ships with OpenLiteSpeed. Inside Webadmin console you can also specify a file from where OpenLiteSpeed can pick rewrite rules for that specific virtual host (domain name). To specify the file you can use this syntax:

Here rewriteFile defines the path…

Read More Read More