Trough error and trial i've found the answer :) instead of location / { try_files $uri $uri/ /index.php; } it must be location / { try_files $uri $uri/ /index.php?$args; #or /index.php?$query_string, mind the '?' } can someone explain why my other sites or the sames site root page works without this (?$args), but this one (example.com/ajax/by aegis - How to...
Hello everyone, I have a strange problem here. I just moved from apache + mod_php to nginx + php-fpm. Everything went fine except this one problem. I have a site, let's say example.com. When I access it like `example.com?test=get_param` `$_SERVER['REQUEST_URI']` is `/?test=get_param` and there is a `$_GET['test']` also. But when I access `example.com/ajax/search/?search=get_param` `$_SERby aegis - How to...
![]() |
![]() |
![]() |
![]() |
|