Git http server: Difference between revisions

Created page with " == Example Configuration == <syntaxhighlight lang="nixos"> { config, pkgs, ... }: { # We will be using nginx as web server. As nginx doesnt support cgi scrips # but fastcgi. We need fcgiwrap to forward requests # -(https)-> nginx -(fastcgi)-> fcgiwrap -(cgi)-> git-http-backend services.fcgiwrap.enable = true; services.fcgiwrap.user = "nginx"; services.nginx.enable = true; services.nginx.virtualHosts."git.example.com" = { # use ssl fo..."
 
 
Line 39: Line 39:
}
}
</syntaxhighlight>
</syntaxhighlight>
[[Category:Cookbook]]