X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/81b8e05dcd7397de4e2facd47be899edb9a21c6a..2344e81e96887a08af1d659d09c0e26390cc4122:/doc/install/install-arv-git-httpd.html.textile.liquid diff --git a/doc/install/install-arv-git-httpd.html.textile.liquid b/doc/install/install-arv-git-httpd.html.textile.liquid index 90ba2c99c6..e592afc7c2 100644 --- a/doc/install/install-arv-git-httpd.html.textile.liquid +++ b/doc/install/install-arv-git-httpd.html.textile.liquid @@ -295,8 +295,9 @@ EOF #!/bin/sh export ARVADOS_API_HOST=uuid_prefix.your.domain export GITOLITE_HTTP_HOME=/var/lib/arvados/git +export GL_BYPASS_ACCESS_CHECKS=1 export PATH="$PATH:/var/lib/arvados/git/bin" -exec chpst -u git:git arvados-git-httpd -address=:9001 -git-command="$(which git)" -repo-root=/var/lib/arvados/git/repositories 2>&1 +exec chpst -u git:git arvados-git-httpd -address=:9001 -git-command=/var/lib/arvados/git/gitolite/src/gitolite-shell -repo-root=/var/lib/arvados/git/repositories 2>&1 EOF /etc/sv/arvados-git-httpd$ sudo chmod +x run log/run @@ -308,8 +309,9 @@ If you are using a different daemon supervisor, or if you want to test the daemo
sudo -u git \
ARVADOS_API_HOST=uuid_prefix.your.domain \
GITOLITE_HTTP_HOME=/var/lib/arvados/git \
+ GL_BYPASS_ACCESS_CHECKS=1 \
PATH="$PATH:/var/lib/arvados/git/bin" \
- arvados-git-httpd -address=:9001 -git-command="$(which git)" -repo-root=/var/lib/arvados/git/repositories 2>&1
+ arvados-git-httpd -address=:9001 -git-command=/var/lib/arvados/git/gitolite/src/gitolite-shell -repo-root=/var/lib/arvados/git/repositories 2>&1
@@ -336,6 +338,9 @@ server {
ssl_certificate /YOUR/PATH/TO/cert.pem;
ssl_certificate_key /YOUR/PATH/TO/cert.key;
+ # The server needs to accept potentially large refpacks from push clients.
+ client_max_body_size 50m;
+
location / {
proxy_pass http://arvados-git-httpd;
}
@@ -348,7 +353,7 @@ h3. Configure the API server to advertise the correct HTTPS URLs
In your API server's @application.yml@ file, add the following entry:
git_repo_http_base: https://git.uuid_prefix.your.domain/
+git_repo_https_base: https://git.uuid_prefix.your.domain/