On my NGINX setup, when a url is too long, there seems to be an issue where it redirects the user back to the main page
Is there a setting in NGINX that I can alter that enables longer URLs ?
I'm thinking of this option below, but I'm not sure.
large_client_header_buffers number size
However the documentation doesn't really explain this option well.
Alright guys (and girls?), After a long search I finally found out what this issue was being caused by.
There is a third party module that can be installed on php called suhosin. More information about the project can be found here http://www.hardened-php.net/suhosin/
Anyway you need to open up your php.ini and find these following 3 line. If they do not exist then you need to create them with the proper variables
I hope this saves someone the trouble I had to go through to finally resolve! Enjoy!
You got it right probably. You need to up that from the defaults at large_client_header_buffers 4 4k/8k
If you are maxing out the buffer, there is a possibility nginx is just redirecting you to the index page. But the nginx manual says: if the client send a bigger header nginx returns error "Request URI too large" (414). Look in the logs to see what response you are getting. If you get the 414 then this is definitely it.