fix: Prevent nginx crash before git.dociva.io cert exists

This commit is contained in:
Your Name
2026-04-05 19:47:29 +02:00
parent f57779205b
commit d066d8e414

View File

@@ -135,8 +135,10 @@ server {
http2 on;
server_name git.dociva.io;
ssl_certificate /etc/letsencrypt/live/git.dociva.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/git.dociva.io/privkey.pem;
# 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_protocols TLSv1.2 TLSv1.3;
client_max_body_size 100M;