Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ictflare

Pages: [1]
1
Other / Re: Nginx Varnish Apache php-fpm 403 Forbidden
« on: September 22, 2024, 06:18:00 AM »
  • Just to test again,For the 11th time i have created a fresh VPS with AlmaLinux 8
  • Disabled SELinux.
  • Installed CWP Pro by following the simple instructions on the CWP Website.
  • Installed PHP/FPM 8.3 from PHP Settings.
  • Rebooted Server.
  • Enabled Nginx & Varnish & Apache from Select WebServers.
  • Varnish and Nginx auto installed successfully.
  • Create a User Account with my domain.
  • Applied SSL Successfully.
  • Mod Security never enabled.
  • Enabled Varnish for my domain from WebServer Domain Conf.


Code: [Select]
tcp        0      0 X.X.X.X:80        0.0.0.0:*               LISTEN      366579/nginx: maste
tcp        0      0 0.0.0.0:82              0.0.0.0:*               LISTEN      366610/varnishd     
tcp        0      0 X.X.X.X:443       0.0.0.0:*               LISTEN      366579/nginx: maste
tcp        0      0 127.0.0.1:36763         0.0.0.0:*               LISTEN      366610/varnishd     
tcp6       0      0 :::82                   :::*                    LISTEN      366610/varnishd     
tcp6       0      0 :::8181                 :::*                    LISTEN      372476/httpd       
tcp6       0      0 :::8443                 :::*                    LISTEN      372476/httpd

https://prnt.sc/Kvgr6gB4jw0m
https://prnt.sc/DCIj8l80_GMv

This is very straightforward and easy installation . But selecting NGINX->Varnish->Apache->PHP-FPM  , this doesn't work out of the box even in CWP Pro. This is why i got CWP Pro, trying a few more times before moving back to CPanel. But i hope someone from CWP takes this seriously as i really like and need CWP and that's why i got the PRO version.

Still tying to reinstall and troubleshoot by checking log files.

2
Other / Re: Nginx Varnish Apache php-fpm 403 Forbidden
« on: September 21, 2024, 05:44:39 PM »
I don't get any error logs at all when i browse the website after enabling Varnish for that domain.
https://prnt.sc/Kpa7trYIGnKR

3
Other / Re: Nginx Varnish Apache php-fpm 403 Forbidden
« on: September 20, 2024, 07:53:40 PM »
On Alma Linux 8 it installs automatically.
On Alma Linux 9 I need to install it manually.
Forgot to mention this.
Doesn't matter if it's installed auto or manually, I still get the same problem.

4
Other / Nginx Varnish Apache php-fpm 403 Forbidden
« on: September 20, 2024, 07:32:03 PM »
Hi
I have tested this on Alma Linux 8 and 9. Same problem on both OS.
After fresh install of CWP, PHP7.4 and FPM or PHP8.3 and FPM
i goto SelectWebServer option under WebServer Settings menu and select Nginx & Varnish & Apache.
I install varnish directly from ssh and start the process successfully.
I add New user and domain.
After that i generate SSL successfully.
Then i goto WebServerDomain Conf and enable Varnish on the domain.

As soon as i enable it, and try to browse the domain, i get NGINX 403 Forbidden.
As soon as i disable Varnish by deleting the config from WebServerDomain Conf , website starts working again.
Could anyone please guide me how to fix this? I am using CWP Pro.

Pages: [1]