nginx: How to keep double slashes in urls -
i have web service takes several filter parameters, :
http://mydomain.com/filter1/value1/filter2/value2/filter3/value3
the tricky thing of filter variables absent, urls such passed service:
http://mydomain.com/filter1//filter2//filter3/value3
now need configure nginx (or fastcgi) keep double slashes. it's replacing double slashes single ones. i'm new nginx & fastcgi configuration , don't know how that. captured request_uri php script when requested second url, , got
http://mydomain.com/filter1/filter2/filter3/value3
plz me. in advance.
syntax: merge_slashes [on|off] default: merge_slashes on context: http, server
you must use: merge_slashes off
;
Comments
Post a Comment