proxy_pass with variable removes uri

luckyswede nginx-forum at
Wed Mar 5 12:26:18 UTC 2014

Also, I want to make use of a resolver, which requires variables in the
proxy_pass directive. Does this mean that it is not possible to
automatically "strip" out the leading "/api" (which seems to not work with
variables) and using resolvers (which requires variables)?

BR / Jonas

Posted at Nginx Forum:,248124,248130#msg-248130

More information about the nginx mailing list