pem used by letsencrypt
This commit is contained in:
parent
c6f4eeebb6
commit
7b099e87fc
|
@ -604,7 +604,7 @@ function install_gogs {
|
||||||
echo "ROOT_URL = http://$GIT_DOMAIN_NAME/" >> $GOGS_CONFIG_FILE
|
echo "ROOT_URL = http://$GIT_DOMAIN_NAME/" >> $GOGS_CONFIG_FILE
|
||||||
echo "SSH_PORT = $SSH_PORT" >> $GOGS_CONFIG_FILE
|
echo "SSH_PORT = $SSH_PORT" >> $GOGS_CONFIG_FILE
|
||||||
echo 'SSH_DOMAIN = %(DOMAIN)s' >> $GOGS_CONFIG_FILE
|
echo 'SSH_DOMAIN = %(DOMAIN)s' >> $GOGS_CONFIG_FILE
|
||||||
echo "CERT_FILE = /etc/ssl/certs/${GIT_DOMAIN_NAME}.crt" >> $GOGS_CONFIG_FILE
|
echo "CERT_FILE = /etc/ssl/certs/${GIT_DOMAIN_NAME}.pem" >> $GOGS_CONFIG_FILE
|
||||||
echo "KEY_FILE = /etc/ssl/private/${GIT_DOMAIN_NAME}.key" >> $GOGS_CONFIG_FILE
|
echo "KEY_FILE = /etc/ssl/private/${GIT_DOMAIN_NAME}.key" >> $GOGS_CONFIG_FILE
|
||||||
echo 'DISABLE_ROUTER_LOG = true' >> $GOGS_CONFIG_FILE
|
echo 'DISABLE_ROUTER_LOG = true' >> $GOGS_CONFIG_FILE
|
||||||
echo '' >> $GOGS_CONFIG_FILE
|
echo '' >> $GOGS_CONFIG_FILE
|
||||||
|
|
Loading…
Reference in New Issue