aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xentrypoint.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index 16ec682..bf09d91 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -94,10 +94,11 @@ http {
}
# Make go-get work
+ # Make the assumption that we're always running under default
+ # https. This may cause issues for strange setups. Don't do that.
if (\$arg_go-get = 1) {
return 200 '<meta name="go-import"
- content="\$host\$uri git \$scheme://\$host\$uri.git">\\n';
- # content="\$host\$uri git \$scheme://\$host/cgi-bin/cgit.cgi\$uri.git">\\n';
+ content="\$host\$uri git https://\$host\$uri">\\n';
}
}
}