Initial commit

This commit is contained in:
kamaji
2026-01-26 04:57:20 -06:00
commit bbd720e2a2
8 changed files with 336 additions and 0 deletions

27
nginx/nginx.conf Normal file
View File

@@ -0,0 +1,27 @@
events {}
http {
# Allow larger file uploads
client_max_body_size 50M;
server {
listen 80;
# Basic authentication
auth_basic "AP Capture";
auth_basic_user_file /etc/nginx/htpasswd;
# Serve static frontend
location / {
root /usr/share/nginx/html;
index index.html;
}
# Proxy API requests to backend
location /api/ {
proxy_pass http://backend:8000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}