Viewing File: /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/lib/panels/ispconfig/softaculous_nginx.conf

location /softaculous {
   root /var/softwww/;
   index index.php index.html index.htm;
   location ~ ^/softaculous/(.+\.php)$ {
           try_files $uri =404;
           root /var/softwww/;
           include /etc/nginx/fastcgi_params;
           fastcgi_pass unix:/var/run/php/php-fpm.sock;  # Ensure this path is correct
           fastcgi_param  HTTPS on;
           fastcgi_index index.php;
           fastcgi_param SCRIPT_FILENAME $request_filename;
   }
   location ~* ^/softaculous/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
           root /var/softwww/;
   }
}
Back to Directory