diff --git a/docker-compose.yml b/docker-compose.yml index 76814d2..82bb356 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: - main restart: unless-stopped volumes: - - ./https/nginx/automatisch_letsencrypt_nginx.conf:/etc/nginx/conf.d/ + - ./https/nginx/automatisch_letsencrypt_nginx.conf:/etc/nginx/conf.d/automatisch_letsencrypt_nginx.conf - ./certbot/conf:/etc/letsencrypt - ./certbot/www:/var/www/certbot ports: diff --git a/https/nginx/automatisch_letsencrypt_nginx.conf b/https/nginx/automatisch_letsencrypt_nginx.conf index 45435ce..8bc9c53 100644 --- a/https/nginx/automatisch_letsencrypt_nginx.conf +++ b/https/nginx/automatisch_letsencrypt_nginx.conf @@ -1,10 +1,6 @@ # initial nginx conf file needed when running certbot container the first time to generate ssl certs # replace with your DNS i.e.automatisch.lasthourhosting.org -events { - worker_connections 1024; -} - http { server { diff --git a/https/nginx/automatisch_letsencrypt_nginx_template.conf b/https/nginx/automatisch_letsencrypt_nginx_template.conf index 45435ce..8bc9c53 100644 --- a/https/nginx/automatisch_letsencrypt_nginx_template.conf +++ b/https/nginx/automatisch_letsencrypt_nginx_template.conf @@ -1,10 +1,6 @@ # initial nginx conf file needed when running certbot container the first time to generate ssl certs # replace with your DNS i.e.automatisch.lasthourhosting.org -events { - worker_connections 1024; -} - http { server { diff --git a/https/nginx/secondary_automatisch_letsencrypt_nginx.conf b/https/nginx/secondary_automatisch_letsencrypt_nginx.conf index f23ecca..39d7e23 100644 --- a/https/nginx/secondary_automatisch_letsencrypt_nginx.conf +++ b/https/nginx/secondary_automatisch_letsencrypt_nginx.conf @@ -1,10 +1,6 @@ # nginx conf file to use after LetsEncrypt SSL certs have been created # replace with your DNS i.e.automatisch.lasthourhosting.org -events { - worker_connections 1024; -} - http { server {