You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed Cloudpanel on two different VM, both are using Ubuntu 22.04. One has a public IP resolution while the other is on my local machine just for testing purposes.
While the one on local environment is working exactly as expected, the one with public IP has a problem that comes out at every new virtual host creation.
This is the right standard configuration that comes out on the environment working properly
I don't know how to reproduce this issue, I've analyzed all the files under /home/clp/ folders and also confronted all the etc/nginx/nginx.conf files of both environments.
I feel like there's something that is not including properly the rules stored in home/clp/htdocs/app/files/resources/nginx/vhost_template/redirect file (checked also this one, which is ok in both environments).
Possible Solution
I know that a solution would be manually adding the missing rules but I'd like to have the standard behaviour of Cloudpanel virtual hosts generation.
Additional Context
Please note that on the "bugged" environment, at the end of installation I had this alert:
dpkg: error processing package cloudpanel (--configure): installed cloudpanel package post-installation script subprocess returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyway after I solved this issue I successfully performed an "apt reinstall cloudpanel" to complete post-installation scripts.
The text was updated successfully, but these errors were encountered:
Thanks, what I meant is that on my Cloudpanel installation, by default, the first redirection part is missing.
So every time I create a new virtual host, I have to manually add:
CloudPanel version(s) affected
2.4.1
Description
I've installed Cloudpanel on two different VM, both are using Ubuntu 22.04. One has a public IP resolution while the other is on my local machine just for testing purposes.
While the one on local environment is working exactly as expected, the one with public IP has a problem that comes out at every new virtual host creation.
This is the right standard configuration that comes out on the environment working properly
Instead this is the virtual host that comes out on the enviroment that is missing the bold part of the previous example
How to reproduce
I don't know how to reproduce this issue, I've analyzed all the files under /home/clp/ folders and also confronted all the etc/nginx/nginx.conf files of both environments.
I feel like there's something that is not including properly the rules stored in home/clp/htdocs/app/files/resources/nginx/vhost_template/redirect file (checked also this one, which is ok in both environments).
Possible Solution
I know that a solution would be manually adding the missing rules but I'd like to have the standard behaviour of Cloudpanel virtual hosts generation.
Additional Context
Please note that on the "bugged" environment, at the end of installation I had this alert:
dpkg: error processing package cloudpanel (--configure): installed cloudpanel package post-installation script subprocess returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anyway after I solved this issue I successfully performed an "apt reinstall cloudpanel" to complete post-installation scripts.
The text was updated successfully, but these errors were encountered: