Hi Kyle
On Wed, May 25, 2022 at 07:49:07AM +0530, Mukund Sivaraman wrote:
> > Could there be something in your setup that's doing the second round of
> > percent-encoding?
>
> nginx is a reverse-proxy in front of public-inbox-httpd. I'll check if
> it breaks anything.
It was a problem with the nginx reverse-proxy config. I updated it, and
it works now. Thank you for checking, and esp. pointing out that it
worked directly with public-inbox-httpd.
For anyone else who searches and finds this thread, a working nginx
configuration with proxy_pass follows, where proxy_pass must not include
a trailing '/':
# create an upstream
upstream inbox_proxy_backend {
server unix:/run/inbox/inbox.sock fail_timeout=0;
keepalive 32;
}
server {
# other server config
# ...
location / {
proxy_pass http://inbox_proxy_backend;
include proxy_params;
}
}
Mukund