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:
+6
-1
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user