Use https
This commit is contained in:
parent
d025b5594e
commit
cbcdc1df5a
|
@ -603,7 +603,7 @@ function install_gogs {
|
|||
echo "DOMAIN = ${GIT_ONION_HOSTNAME}" >> ${GOGS_CONFIG_FILE}
|
||||
fi
|
||||
echo 'HTTP_PORT = 3000' >> ${GOGS_CONFIG_FILE}
|
||||
echo "ROOT_URL = http://$GIT_DOMAIN_NAME/" >> ${GOGS_CONFIG_FILE}
|
||||
echo "ROOT_URL = https://$GIT_DOMAIN_NAME/" >> ${GOGS_CONFIG_FILE}
|
||||
echo "SSH_PORT = $SSH_PORT" >> ${GOGS_CONFIG_FILE}
|
||||
echo 'SSH_DOMAIN = %(DOMAIN)s' >> ${GOGS_CONFIG_FILE}
|
||||
echo "CERT_FILE = /etc/ssl/certs/${GIT_DOMAIN_NAME}.pem" >> ${GOGS_CONFIG_FILE}
|
||||
|
|
Loading…
Reference in New Issue