From 122a0eec92dc7e8a85ff9f3f89a25f7d9c4e8196 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Mon, 31 Mar 2025 09:32:56 -0700 Subject: [PATCH] chore: sync configs --- configs/prod.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configs/prod.conf b/configs/prod.conf index e4b6666..75083de 100644 --- a/configs/prod.conf +++ b/configs/prod.conf @@ -113,6 +113,23 @@ server { } } +server { + listen 443 ssl; + server_name books.nhcarrigan.com; + ssl_certificate /etc/letsencrypt/live/books.nhcarrigan.com/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/books.nhcarrigan.com/privkey.pem; + + root /home/nhcarrigan/books; + + location / { + index index.html; + } + + location /books.json { + try_files /books.json =404; + } +} + server { listen 443 ssl; server_name chat.nhcarrigan.com;