From 586d93eb41c86e323fa8f2fb72b32f12479f34a7 Mon Sep 17 00:00:00 2001 From: Your Name <119736744+aborayan2022@users.noreply.github.com> Date: Sun, 5 Apr 2026 20:48:19 +0200 Subject: [PATCH] fix: Use git.dociva.io TLS certificate for Gitea --- nginx/nginx.prod.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nginx/nginx.prod.conf b/nginx/nginx.prod.conf index ea9240f..c0e77d6 100644 --- a/nginx/nginx.prod.conf +++ b/nginx/nginx.prod.conf @@ -135,10 +135,8 @@ server { http2 on; server_name git.dociva.io; - # Temporary fallback so nginx can start before git.dociva.io certificate is issued. - # After DNS is set and certbot runs, switch these back to /live/git.dociva.io/... - ssl_certificate /etc/letsencrypt/live/dociva.io/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/dociva.io/privkey.pem; + ssl_certificate /etc/letsencrypt/live/git.dociva.io/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/git.dociva.io/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; client_max_body_size 100M;