On 10 September 2016 at 01:52, Francis Daly <fran...@daoine.org> wrote:
Thanks Francis On Fri, Sep 09, 2016 at 08:27:53AM +0100, Zombies wrote: > > On 8 September 2016 at 20:23, Joe Mistachkin <sql...@mistachkin.com> > wrote: > > > Zombies wrote: > > Hi there, > > > > > For the main web page links it is working fine, however on some of > the > > > pages, > > > > I am getting links to pages with an extra '/' being inserted. It > happens > > > with > > > > all of the links from the 'Admin' tab, e.g- > > > > > > > > > > What is the full command line being used? > > > > > > > > ./fossil server --baseurl "https://fossil.mydomain.com:443/" > repos/myRepo > > "baseurl" must start with "http://" or "https://" (enforced in code), > and must not end in "/" (not enforced directly). It is good when you > It seems to enforce an ending '"/", If I try and use it without the ending '/' - it doesnt seem to like it at all:- ./fossil server --baseurl "https://fossil.mydomain.com:443" repos/myRepo argument to --baseurl should be 'http://host/path' or 'https://host/path' > are "reverse-proxying" the connection to a different part of the url > hierarchy. It is not good if you are just hiding behind https. > > If the front-end is just a load balancer (with ssl termination), and > includes the "fossil.mydomain.com" Host: header in the requests that > get to fossil, then possibly > > HTTPS=on ./fossil server repos/myRepo > > will cause it to Just Work for you. > This worked perfectly - thanks Francis! FYI (for anyone else who might be searching for a similar use case) - this was to get a fossil server running on AWS EC2, behind one of their SSL load balancers Cheers, Greg > > That is -- ensure that then environment variable HTTPS has the value > "on" in the fossil process. > > Cheers, > > f > -- > Francis Daly fran...@daoine.org > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users