I solved this problem by replacing (drupal config recommended by nginx) location / { try_files $uri /index.php; } with location / { try_files $uri /index.php?$query_string; }