fastcgi_param SCRIPT_FILENAME - not config seems to work

2021-04-21 Thread truffle
Sorry for this noob question, but frustration is eating me. I'm trying to set up my php app for 2 straight days, and no config seems to work to load it properly. My config: server { server_name mydomain.com; ... ... fastcgi_param HTTPS on; location /app { index inde

Re: fastcgi_param SCRIPT_FILENAME - not config seems to work

2021-04-21 Thread truffle
Ok, as expected, this was extremely stupid. location /app { index index.php; root /var/www; } When specifying location, the path should be set with root NOT containing the /location Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291334,291337#msg-291337 ___