Hello,

I have fossil running behind nginx, which is proxying https
connections to http://localhost:8080/. If I start the server with
"fossil server /my/repo/dir/" to make all *.fossil repositories
available, fossil generates wrong links by using the http scheme
instead of https. However, if I specify the "--baseurl https://.../";
option, urls such as "https://.../repo/index"; are redirected to
"https://.../index";, which obviously doesn't exist.

Is there a way to force fossil to use https in URLs and redirects even
through the request from nginx comes in on http? A permanent fix might
be to look at the "X-Forwarded-Proto" header.

- Max
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to