We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the context of Craft, HTTP requests that 404 in nginx, get passed into Craft's index.php so it has a chance to process them
https://github.com/craftcms/docker/blob/main/nginx/default.conf#L14-L17
So mysite.com/admin will resolve to mysite.com/index.php?p=admin behind the scenes.
But if you specify a PHP script directly (i.e. mysite.com/doesnotexist.php), you'll get an nginx 404 response that doesn't get passed onto Craft.
Haven't investigated much, but likely because of this line https://github.com/craftcms/docker/blob/main/nginx/craftcms/php_fastcgi.conf#L2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
In the context of Craft, HTTP requests that 404 in nginx, get passed into Craft's index.php so it has a chance to process them
https://github.com/craftcms/docker/blob/main/nginx/default.conf#L14-L17
So mysite.com/admin will resolve to mysite.com/index.php?p=admin behind the scenes.
But if you specify a PHP script directly (i.e. mysite.com/doesnotexist.php), you'll get an nginx 404 response that doesn't get passed onto Craft.
Haven't investigated much, but likely because of this line https://github.com/craftcms/docker/blob/main/nginx/craftcms/php_fastcgi.conf#L2
The text was updated successfully, but these errors were encountered: