45 2017-07-08 20:04 GMT+02:00 Jan Danielsson <jan.m.daniels...@gmail.com>:
> On 07/08/17 15:34, Walter Paganini wrote: > [---] > > Any idea about what might be causing this issue and how to solve it? > > Not specifically, not without seeing your nginx configuration. > Though I recall having seen someone post a how-to on how to put fossil > behind an nginx, and I believe there's even a page for it on fossil's > wiki. You could start by comparing that to your configuration. (That > said, I haven't actually followed that guide; I don't recall if it was > for SSL, and nor do I know if cloning works through it). > > > -- > Kind regards, > Jan Danielsson > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > Thanks for your reply Jan, fortunately I managed to solve the issue by myself some minutes ago; but your intuition was right, the issue was linked to my nginx configuration. More specifically, this is the clone command I was running: fossil clone https://server-address:8080 <https://foobar:8080> ... My nginx reverse-proxy is configured to forward HTTP requests on the 8080 port as HTTPS request to the 443 port, which is the correct SSL port. However, since I was using the HTTPS protocol for my request on the 8080 port, nginx couldn't figure out that it had to forward my request to the 443 port. If I manually change the port as in the following command, everything works fine: fossil clone https://server-address: <https://foobar:8080/>443 ... It also works correctly if I keep the 8080 port but change the protocol to HTTP, as in: fossil clone http://server-address: <https://foobar:8080/>8080 ... This way nginx is able to recognize the request and forward it as expected. I hope this will be useful for other inattentive users :-) Thank you again for your kindness, Walter
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users