Allow letsencrypt to run on stats.cloud.blender.org

This commit is contained in:
2017-09-21 13:50:44 +02:00
parent 4432e5b645
commit 82a4bcd185
2 changed files with 4 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ letsencrypt:
environment: environment:
WEBROOT: /data/letsencrypt WEBROOT: /data/letsencrypt
LISTEN: '[::]:80' LISTEN: '[::]:80'
VIRTUAL_HOST: http://cloud.blender.org/.well-known/* VIRTUAL_HOST: http://cloud.blender.org/.well-known/*, http://stats.cloud.blender.org/.well-known/*
VIRTUAL_HOST_WEIGHT: 20 VIRTUAL_HOST_WEIGHT: 20
volumes: volumes:
- /data/letsencrypt:/data/letsencrypt - /data/letsencrypt:/data/letsencrypt

View File

@@ -1,5 +1,8 @@
#!/bin/bash -e #!/bin/bash -e
# First time creating a certificate for a domain, use:
# certbot certonly --webroot -w /data/letsencrypt -d $DOMAINNAME
cd /data/letsencrypt cd /data/letsencrypt
certbot renew certbot renew