mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-30 11:03:21 +01:00
The per-access-code nginx configs are generated from
bin/nginx/conf/codes/template{,_ministra} by AuthRepository::updateCodes().
Both templates still hard-coded the pre-migration lowercase path
`fastcgi_param SCRIPT_FILENAME /home/xc_vm/public/index.php` and
`alias /home/xc_vm/public/assets/...`, while the directory was renamed to
Public/ during the PSR-4 migration. On a case-sensitive filesystem PHP-FPM
gets a non-existent SCRIPT_FILENAME and answers "File not found." for every
access-code URL.
Point the filesystem paths at /home/xc_vm/Public/ (SCRIPT_NAME, a logical URI,
is left as /public/ to match nginx.conf). The migration's path sweep only
touched PHP files under src/ and missed these nginx templates.