On Mar 21, 2018, at 3:53 PM, Svyatoslav Mishyn <svyatoslav.mis...@gmail.com>
wrote:
>
> a.example.net conf:
> location / {
> include scgi_params;
> scgi_pass 127.0.0.1:9000;
> scgi_param REQUEST_URI /fossil_repo_a$request_uri;
> scgi_param SCRIPT_NAME "";
> }
>
> b.example.net conf:
> location / {
> include scgi_params;
> scgi_pass 127.0.0.1:9000;
> scgi_param REQUEST_URI /fossil_repo_b$request_uri;
> scgi_param SCRIPT_NAME "";
> }
What I do here instead is to run a separate Fossil instance for each
repository, each bound to a separate TCP port. So, hits on a.example.net
<http://a.example.net/> are redirected to port 9000, hits on b are redirected
to port 9001, etc.
That is, I’m not using the /repolist feature at all. Each Fossil instance is
pointed at a single *.fossil file.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users