I think this is how your web server is setup.
Basically, it needs to route everything after the first forward slash to the index.php file. It could be appearing as a query string.
Is q the URI you're on?
Hi,
When I do dd($request) I can see the request array
There is one 'query' property there. On my development servers it is empty. On production however the 'query' property has itself a 'q' property which holds the path of where request came from e.g.
+query: ParameterBag {#48 ▼ #parameters: array:1 [▼ "q" => "/control/email" ] }
Why is this q, and why is it there on production and not on development?
I'm going to bet nginx is adding the q param in your try_files.. maybe something like try_files $uri $uri/ /index.php?q=$uri&$args;
Replace that with try_files $uri $uri/ /index.php?$query_string;
Please or to participate in this conversation.