Proxy_pass url with a #

Francis Daly francis at
Sat Oct 6 22:41:24 UTC 2018

On Fri, Oct 05, 2018 at 08:59:21AM -0700, Brian W. wrote:

Hi there,

> In have this largely working aside from the above. If I proxy pass to the
> url with a # in it it's treated like a comment and ignores the rest. If I
> encode it with %23 I get a 404 error. What have you all done to get past
> this?

# is usually not included in a url that is sent in a request to a web server.

Can you describe what you want to achieve, and what you are currently doing?

Perhaps that will make clearer how to make it happen.


Francis Daly        francis at

More information about the nginx mailing list