[DOCKER] TODOify mail server certificate
This commit is contained in:
		| @@ -5,7 +5,9 @@ | |||||||
|  |  | ||||||
| . bootstrap.env | . bootstrap.env | ||||||
|  |  | ||||||
| sed -ri "s/%hostname%/${MAIL_DOMAIN}/" /etc/nginx/conf.d/challenge.conf | # TODO: Add mail domain when implemented | ||||||
|  | rm -f /etc/nginx/conf.d/default.conf | ||||||
|  | sed -ri "s/%hostname%/${WEB_DOMAIN}/" /etc/nginx/conf.d/challenge.conf | ||||||
|  |  | ||||||
| nginx | nginx | ||||||
|  |  | ||||||
| @@ -59,4 +61,5 @@ obtain_certificates () { | |||||||
| } | } | ||||||
|  |  | ||||||
| obtain_certificates "${WEB_DOMAIN}" | obtain_certificates "${WEB_DOMAIN}" | ||||||
| obtain_certificates "${MAIL_DOMAIN}" | #TODO: Uncomment when implemented (: | ||||||
|  | #obtain_certificates "${MAIL_DOMAIN}" | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|  |  | ||||||
| # There's no point in keeping default nginx conf | # There's no point in keeping default nginx conf | ||||||
| # Furthermore, this is an issue when a developer is using localhost as the instance domain | # Furthermore, this is an issue when a developer is using localhost as the instance domain | ||||||
| rm /etc/nginx/conf.d/default.conf | rm -f /etc/nginx/conf.d/default.conf | ||||||
|  |  | ||||||
| # Can't do sed inplace, because the file would be busy | # Can't do sed inplace, because the file would be busy | ||||||
| cat /var/nginx/social.conf | \ | cat /var/nginx/social.conf | \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user