HTTPS with Dockerized Lets Encrypt certbot
This commit is contained in:
@@ -6,10 +6,11 @@ services:
|
||||
container_name: nginx
|
||||
volumes:
|
||||
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
|
||||
- "./etc/ssl:/etc/ssl"
|
||||
- "./Website:/var/www/html/public"
|
||||
- "./Website:/var/www/html/public:ro"
|
||||
- "./etc/nginx/default.template.conf:/etc/nginx/conf.d/default.template"
|
||||
- "./etc/nginx/logs:/var/log/nginx"
|
||||
- "./etc/logs/nginx:/var/log/nginx"
|
||||
- "./etc/letsencrypt/certs:/etc/letsencrypt"
|
||||
- "./etc/letsencrypt/data:/data/letsencrypt"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
||||
Reference in New Issue
Block a user