[libre-riscv-dev] [Bug 181] test and install public-inbox
bugzilla-daemon at libre-riscv.org
bugzilla-daemon at libre-riscv.org
Tue Mar 17 14:43:26 GMT 2020
http://bugs.libre-riscv.org/show_bug.cgi?id=181
--- Comment #49 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(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 :)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list