andreapollastri / cipi

Install and manage your server like a pro! With Cipi you don’t need to be a Sys Admin to deploy and manage websites and PHP applications powered by cloud VPS.
https://cipi.sh
1.08k stars 224 forks source link

Nginx : Add fpm SCRIPT_FILENAME #449

Open Adesin-fr opened 1 year ago

Adesin-fr commented 1 year ago

I'm using deployer to update my websites easily.

There is problems with NGINX not serving the correct folder, and I need to redeploy my apps so they are correctly served.

Setting the SCRIPT_FILENAME directive in nginx site's config should fix the issue (as per https://deployer.org/docs/7.x/avoid-php-fpm-reloading)