You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
backends-nginx: Add support for Nginx versions older than 1.5.9.
In this commit we are adding support for Nginx version older than
1.5.9. This is achieved through conditionally quoting the URL's in
X-Accel-Redirect headers according to compatibility with Nginx.
Since newer versions of Nginx expect URL's in X-Accel-Redirect to
be quoted unlike the versions older that Nginx 1.5.9. In this commit
we start to check the Nginx version using 'nginx -v' and then caching
the result be making use of a decorator. Using this result we decide
whether the outgoing URL should be quoted or not.
Fixes: johnsensible#56, johnsensible#58. Closesjohnsensible#45.
0 commit comments