adamkdean / redirect

Redirection lightweight companion container for the nginx-proxy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow $request_uri in REDIRECT_LOCATION

lukecyca opened this issue · comments

Often when redirecting between www and non-www, and between http and https, the path is included. For example using this nginx config:

return 301 https://www.vhost.domain.tld$request_uri;

I don't think that's possible with this docker image. It would be great if it was.

I am agree

Apologies @lukecyca @MaximStone, I didn't see this issue. This has now been resolved in #3 (thanks @dweevedi)