From 4c5925a0eceebcd86a4c59a0123dac49aabffae0 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 4 Aug 2015 01:22:15 -0400 Subject: [PATCH] 6663: Fix API config example for HTTPS, add corresponding SSH example. --- .../install-arv-git-httpd.html.textile.liquid | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/install/install-arv-git-httpd.html.textile.liquid b/doc/install/install-arv-git-httpd.html.textile.liquid index a562115162..cb378b7530 100644 --- a/doc/install/install-arv-git-httpd.html.textile.liquid +++ b/doc/install/install-arv-git-httpd.html.textile.liquid @@ -206,6 +206,17 @@ Otherwise, create @/etc/cron.d/arvados-git-sync@ with the following content: +h3. Configure the API server to advertise the correct SSH URLs + +In your API server's @config/application.yml@ file, add the following entry: + + +
git_repo_ssh_base: git@git.uuid_prefix.your.domain:
+
+
+ +Make sure to include the trailing colon. + h2. Install the arvados-git-httpd package This is needed only for HTTPS access. @@ -296,11 +307,13 @@ This is best achieved by putting a reverse proxy with SSL support in front of ar -h3. Tell the API server about the arvados-git-httpd service +h3. Configure the API server to advertise the correct HTTPS URLs In your API server's @config/application.yml@ file, add the following entry: -
git_http_base: git.uuid_prefix.your.domain
+
git_repo_http_base: https://git.uuid_prefix.your.domain/
 
+ +Make sure to include the trailing slash. -- 2.30.2