From 8cdacdb85dbfdfef711e9a60aad68679e0bd2381 Mon Sep 17 00:00:00 2001 From: Linden Crandall Date: Fri, 7 Feb 2025 09:12:29 +0900 Subject: [PATCH] initial letsencrypt nginx conf file --- .../nginx/automatisch_letsencrypt_nginx.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 https/nginx/automatisch_letsencrypt_nginx.conf diff --git a/https/nginx/automatisch_letsencrypt_nginx.conf b/https/nginx/automatisch_letsencrypt_nginx.conf new file mode 100644 index 0000000..d49e548 --- /dev/null +++ b/https/nginx/automatisch_letsencrypt_nginx.conf @@ -0,0 +1,19 @@ +events { + worker_connections 1024; +} + +http { + + server { + listen 7757; + server_name automatisch.lasthourhosting.org; + + location / { + proxy_pass http://main:7757; + } + + location ~ /.well-known/acme-challenge/ { + root /var/www/certbot; + } + } +}