Fix all 5 deploy gaps: nginx real-IP, volume chown entrypoint, chat cascade migration, template seed, frontend build Makefile

This commit is contained in:
Atharv1705
2026-10-02 16:07:04 +05:30
parent 818185e931
commit 31fbc85565
7 changed files with 133 additions and 51 deletions
+9
View File
@@ -1,4 +1,12 @@
server {
# -- Real-IP: trust the Docker bridge so rate-limit keying uses the
# actual client IP, not the shared proxy/bridge address. ----------
set_real_ip_from 172.16.0.0/12; # Docker default bridge range
set_real_ip_from 10.0.0.0/8; # Common overlay networks
set_real_ip_from 127.0.0.1; # local loopback (dev)
real_ip_header X-Forwarded-For;
real_ip_recursive on;
listen 80;
server_name aicpa.duckdns.org 13.140.170.213;
# Security Headers
@@ -96,3 +104,4 @@ server {
}