Skip to content
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

Chapter 9. Creating an Extensible Framework. Issue in nginx configuration #24

Open
Vitovt92 opened this issue Sep 6, 2021 · 0 comments

Comments

@Vitovt92
Copy link

Vitovt92 commented Sep 6, 2021

Hello.
It is a grate book and I adore it. But it seems to me I found out an error in NGINX configuration for URL Rewriting.

location / {
    try_files $uri $uri/ /index.php?args;
}

Missed a dollar sign before args. Should be:

location / {
    try_files $uri $uri/ /index.php?$args;
}

It's simple, but it drove me crazy while debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant