Skip to content

Commit 521cde2

Browse files
author
rubyist
committed
Update the config screen in mgmt interface to describe the sslverify option when using https as the scheme
1 parent a3fcb6e commit 521cde2

3 files changed

Lines changed: 36 additions & 41 deletions

File tree

mgmt-css.rice-box.go

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

mgmt-templates.rice-box.go

Lines changed: 24 additions & 38 deletions
Large diffs are not rendered by default.

mgmt/templates/config.tmpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,13 @@
1111
url = "{{.Config.Scheme}}://{{.Config.Host}}/user/repo"
1212
</code>
1313
</pre>
14+
15+
{{if eq .Config.Scheme "https"}}
16+
<p>Your server is configured to use https. If you're using self signed certificates, or are getting SSL errors, you can add the following to your <code>.gitconfig</code> file:</p>
17+
<pre>
18+
<code>[http]
19+
sslverify = false
20+
</code>
21+
</pre>
22+
{{end}}
1423
</div>

0 commit comments

Comments
 (0)