Align Sinbad2 HTTPS deployment with orcid2sword reverse-proxy pattern.

This adds nginx dual-path routing, forwarded proxy headers, Uvicorn proxy-headers, production security settings, and deployment docs for https://sinbad2.ujaen.es/generadorexamenesllm/.
This commit is contained in:
Mireya Cueto Garrido
2026-06-03 10:12:05 +02:00
parent ca6d370585
commit 7dcc7dc0e1
13 changed files with 230 additions and 31 deletions
+6 -1
View File
@@ -25,4 +25,9 @@ USER app
EXPOSE 8074
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8074"]
CMD ["uvicorn", "app.main:app", \
"--host", "0.0.0.0", \
"--port", "8074", \
"--proxy-headers", \
"--forwarded-allow-ips", "*", \
"--no-server-header"]