feat: add ai.nhcarrigan.com nginx config
Test nginx configuration / Static Analysis (push) Failing after 9s
Test nginx configuration / nginx Syntax Check (push) Failing after 22s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m5s

This commit is contained in:
2026-07-02 12:46:23 -07:00
committed by Naomi Carrigan
parent f40690b574
commit 9cb4bf9a07
2 changed files with 20 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# OpenCode web UI.
server {
listen 443 ssl;
server_name ai.nhcarrigan.com;
ssl_certificate /etc/letsencrypt/live/ai.nhcarrigan.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ai.nhcarrigan.com/privkey.pem;
location / {
proxy_pass http://127.0.0.1:44123;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
include /etc/nginx/snippets/deny-dotfiles.conf;
}
+1
View File
@@ -0,0 +1 @@
../sites-available/ai.conf