[libre-riscv-dev] [Bug 181] test and install public-inbox
bugzilla-daemon at libre-riscv.org
bugzilla-daemon at libre-riscv.org
Sat Mar 21 01:13:01 GMT 2020
http://bugs.libre-riscv.org/show_bug.cgi?id=181
--- Comment #55 from vklr at vkten.in <vklr at vkten.in> ---
(In reply to Luke Kenneth Casson Leighton from comment #49)
> (In reply to vklr at vkten.in from comment #48)
>
> > > ok just for a laugh i'm going to run public-inbox-httpd, which is
> > > now set up on http://inbox.libre-riscv.org/libre-riscv-dev
> > So you are using subdomains by adding A records in DNS.
>
> yes. i found that proxy redirect would send to the wrong
> path. i don't know why.
>
> > You can also use nginx reverse proxy so that
> > http://libre-riscv.org:8080/pi/libre-riscv-dev becomes some path as
> > http://libre-riscv.org:80/pi/libre-riscv-dev
>
> i had to use this:
>
> location /{
> access_log /var/log/nginx/public-inbox-httpd_access.log;
> error_log /var/log/nginx/public-inbox-httpd_error.log;
> proxy_set_header HOST $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_pass http://127.0.0.1:8080$request_uri;
> proxy_buffering off;
> }
>
> efforts to change it to work as location /publicinbox met with...
> resistance :)
please try this:
location /publicinbox/ {
access_log /var/log/nginx/public-inbox-httpd_access.log;
error_log /var/log/nginx/public-inbox-httpd_error.log;
proxy_pass https://127.0.0.1:8080/;
proxy_buffering off;
}
Also please install libplack-middleware-reverseproxy-perl
It's needed with nginx.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list