-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
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
Does not work as expected with "try_files" directive #116
Comments
@Rifle-Rex Thanks for your report, and I will track this problem. |
I can confirm that And in my case, that I don't use a uri location redirection (best practice) only send a blank 200.
This is necessary to use the Front Controller pattern, that use almost all frameworks. An app can use a static dir for the static files, but some need to be in the root dir, like: favicon.ico, robots.txt, ... |
Havent update this issue? |
I don't know, but I'll try to add tests for that first, and later try to fix it.
|
Hello. I had found some issues when I trying to use "try_files" directive. Below are my nginx.conf
when I open "http://localhost:808/p", A blank page with status code 200 was returned. But when I open "http://localhost:808/index.php", Everything was just fine. And the code in "content_by_php_block" is seen not be run in "http://localhost:808/p" because the a::$a is not add after the request. Is there anything I misunderstanding?
The text was updated successfully, but these errors were encountered: