I have been using Cloud Panel for some time now, and I can say without a shred of doubt that it is one of the best Cloud panels I have ever worked on. Though it provides the classification for all types of sites at the time of creation, with the vast number of varieties available in tech, it's tricky to have them all.
Recently, I made two of my LiveWire sites live on Cloud Panel, making them live was a piece of cake, but I came across the following problem.
Livewire js was not loading
, was showing 404 in the console.- On some public pages, it was showing
403 forbidden.
Solution
The solution for both problems lies in the vhost
file of the site configuration.
- For the first problem resolution, we have to remove the JS from the location entry as the livewire JS is dynamically added to the response.
- To resolve the 403 forbidden error, we have to edit the following configuration
// from
try_files $uri $uri/ /index.php?$args;
// to
try_files $uri /index.php?$args;
// remove "$uri/"