# Front nginx local de l'application {{ app_python_application.nom }} — genere par Set-OPS (app_python). # L'app ecoute en 127.0.0.1:{{ app_python_application.port }} ; le frontal et l'edge relaient ici. server { listen {{ app_python_port_front }}; server_name {{ app_python_application.noms | join(' ') }}; location / { proxy_pass http://127.0.0.1:{{ app_python_application.port }}; proxy_set_header Host $host; proxy_set_header X-Real-IP $setops_ip_client; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Le schema et l'adresse du CLIENT, recus du frontal ou de l'edge (`conf.d/setops-transfert.conf`), # pas ceux du dorsal : l'application redirigeait en clair, et voyait l'edge comme client (2026-11-15). proxy_set_header X-Forwarded-Proto $setops_schema_client; } }