mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
fix: properly generate urls for port 443 for non-https schemes
This commit is contained in:
@@ -167,7 +167,11 @@ fn-domains-generate-url() {
|
||||
if [[ "$PORT" == "80" ]]; then
|
||||
echo "http://$VHOST"
|
||||
elif [[ "$PORT" == "443" ]]; then
|
||||
echo "https://$VHOST"
|
||||
if [[ "$SCHEME" == "https" ]]; then
|
||||
echo "https://$VHOST"
|
||||
else
|
||||
echo "$SCHEME://$VHOST:$PORT"
|
||||
fi
|
||||
else
|
||||
echo "$SCHEME://$VHOST:$PORT"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user