> From: "Andy Bradford" > <amb-sendok-1430461727.niogihkppihojgmic...@bradfords.org> > To: "Dewey Hylton" <dewey.hyl...@gmail.com> > Cc: "Fossil SCM user's discussion" <fossil-users@lists.fossil-scm.org> > Sent: Wednesday, April 1, 2015 2:28:46 AM > Subject: Re: [fossil-users] using "fossil server --repolist" behind nginx > proxy > > I believe --baseurl is what you actually want to use, however, I'm not > sure --baseurl even works. Everytime I've seen someone try to use it, it > never seems to work right. Is there anyone successfully using it? So > it's possible that --baseurl has a bug in that when it is set, it does > not append the name of the actual repository once the repository is > known. > > Please try the following: > > http://www.fossil-scm.org/index.html/info/7c8eb85c24ab99ed > > Thanks, > > Andy > -- > TAI64 timestamp: 40000000551b9041
thanks, andy! this appears to work as it should. in case someone else ever searches the list for this (i find it hard to believe i'm the only one wanting to use this functionality), i'll include both fossil and nginx configurations below. meanwhile, should we expect this change to be committed to trunk and available in the next version? fossil command: /usr/local/bin/fossil server \ --repolist \ --port 8181 \ --baseurl=http://www.server.local/fossil \ /data/fossil nginx cfg block: server { listen 80 ; server_name www.server.local ; location ^~ /fossil/ { proxy_pass http://localhost:8181/ ; proxy_set_header Host $host ; } } in fact, it appears as if the Host header doesn't actually need to be set for this to work properly. thanks again, andy, for stepping up to the plate and doing this! _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users