Allow letsencrypt to run on stats.cloud.blender.org
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user