From 591fc61a10fcce628f2c64ca35e46f8dac9ffeb3 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Sun, 25 May 2025 14:17:40 -0700 Subject: [PATCH] feat: add elowyn --- configs/prod.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/configs/prod.conf b/configs/prod.conf index 18cc0a9..8441ff4 100644 --- a/configs/prod.conf +++ b/configs/prod.conf @@ -218,6 +218,24 @@ server { return 301 https://docs.nhcarrigan.com/about/donate/; } +server { + listen 443 ssl; + server_name elowyn.nhcarrigan.com; + ssl_certificate /etc/letsencrypt/live/elowyn.nhcarrigan.com/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/elowyn.nhcarrigan.com/privkey.pem; + + root /home/nhcarrigan/elowyn; + + location / { + index index.html; + try_files $uri $uri/ /index.html; + } + + location ~* \.(js|css)$ { + try_files $uri $uri/ @rewrite; + } +} + server { listen 443 ssl; server_name forms-api.nhcarrigan.com;