On May 14, 2016, at 7:08 AM, Piotr Orzechowski <fossi...@orzechowski.tech> wrote: > > You solution seems to work with single repo only.
There are two easy ways to extend it to multiple repos: 1. Point “fossil serve” in the fslsrv wrapper at a directory of *.fossil files, not at a single fossil. Then both of these URLs will work: https://example.com/code/1st-repo https://example.com/code/2nd-repo 2. Clone fslsrv for each repository, serving each on a different random localhost port, proxying each separately. Run them all on server startup. (You’ll have to either remove the bit of the script where it auto-kills the previous one or replace it with a /var/run/fslsrv-$reponame.pid scheme so one fslsrv script doesn’t kill Fossil instances that don’t belong to it.) The only reason I can think of to choose this solution over the first is if you need each repository to appear somewhere else in the URL scheme. For example, you might be serving each repo on a separate subdomain: https://1st-repo.example.com https://2nd-repo.example.com This also requires adding separate server { } blocks to the nginx configuration for the subdomains. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users