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

Query parameters are not being passed to the script #3

Closed
lukasz-zaroda opened this issue May 4, 2017 · 3 comments
Closed

Query parameters are not being passed to the script #3

lukasz-zaroda opened this issue May 4, 2017 · 3 comments

Comments

@lukasz-zaroda
Copy link

lukasz-zaroda commented May 4, 2017

Is there any reason why in fastcgi_params.tpl there is no fastcgi_param QUERY_STRING $query_string; line? I just finished a long debugging session to conclude that query parameters are not being passed to the web server, because of lack of this line, and this breaks some ready nginx configurations available on the internet. As you can see, in nginx this parameter is set by default: https://github.com/nginx/nginx/blob/branches/stable-1.10/conf/fastcgi_params

@lukasz-zaroda lukasz-zaroda changed the title Query parameters are not passed to the server Query parameters are not being passed to the server May 4, 2017
@lukasz-zaroda lukasz-zaroda changed the title Query parameters are not being passed to the server Query parameters are not being passed to the script May 4, 2017
@csandanov
Copy link
Member

We use this image as a base for https://github.com/wodby/drupal-nginx and https://github.com/wodby/wordpress-nginx, and both them have this param. Are you using this image directly? Perhaps we can add this line.

@lukasz-zaroda
Copy link
Author

lukasz-zaroda commented May 5, 2017

Yes, I was trying to make a Prestashop nginx image based on wodby/nginx, and it caused very strange behavior (front end worked just fine, but back office was giving a redirection loop). I think this line should be added to this base if it wasn't consciously removed. :)

The problem happened because most of nginx configurations available on the internet assume preexistence of this line.

csandanov added a commit that referenced this issue May 5, 2017
@csandanov
Copy link
Member

The param has been added.

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