On Sun, Sep 25, 2011 at 12:25 PM, i <i...@ijser.cn> wrote: > in fact , I want to make several repositories use one port, and under > nginx. or with CGI anyway.. > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > (1) Put all of your Fossil repositories in the same directory. For example /home/www/repos. Name each with the ".fossil" suffix. So, for example, you might have /home/www/repos/aaa.fossil, /home/www/repos/bbb.fossil, /home/www/repos/ccc.fossil, and so forth.
(2) Run "fossil server /home/www/repos". By giving it a directory as an argument, it will serve any fossil repository under that directory, using the base name of the repository as the prefix on the URL. Example: http://localhost:8080/aaa/timeline, http://localhost:8080/bbb/timeline, etc. (3) Configure nginx to relay requests to the "fossil server" instance. -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users