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

Other routes than home return not found for laravel applications - FIX #9

Open
icecold21 opened this issue May 12, 2018 · 1 comment

Comments

@icecold21
Copy link

Hi, thanks for the package, this package is awesome.

Here is some gotchas if you found error routing problem.

Try changing location block in nginx.conf to

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

basically $args -> $query_string

hope this helps you guys.

@jeff-kilbride
Copy link

@icecold21 Did this change make a difference? The $args and $query_string variables should be identical:

http://nginx.org/en/docs/http/ngx_http_core_module.html#variables

Just curious.

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

2 participants