Allow to force HTTPS scheme

If the standalone GitBucket instance runs behind HTTPS proxy, the
repository URL always shows HTTP scheme dispute the fact that the
connection is HTTPS. This patch is adding a command line option which
allows to force the HTTPS scheme.
This commit is contained in:
Jiri Tyr
2013-10-21 14:32:53 +01:00
parent 254509f243
commit 53269096a6
4 changed files with 37 additions and 9 deletions

View File

@@ -46,7 +46,7 @@
<zip destfile="${target.dir}/scala-${scala.version}/gitbucket_${scala.version}-${gitbucket.version}.war"
basedir="${target.dir}/scala-${scala.version}/classes"
update = "true"
includes="JettyLauncher.class"/>
includes="JettyLauncher.class,SslConnector.class"/>
</target>
<target name="rename" depends="embed">