Fix all 5 deploy gaps: nginx real-IP, volume chown entrypoint, chat cascade migration, template seed, frontend build Makefile
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user