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
+3
View File
@@ -46,6 +46,9 @@ deploy_to_sinbad2:
export BACKEND_PORT=$BACKEND_PORT
export FRONTEND_PORT=$FRONTEND_PORT
export ENVIRONMENT=production
export PUBLIC_BASE_URL="https://sinbad2.ujaen.es/generadorexamenesllm"
export TRUSTED_HOSTS="sinbad2.ujaen.es,localhost,127.0.0.1"
export ALLOWED_ORIGINS="https://sinbad2.ujaen.es,http://sinbad2.ujaen.es,http://sinbad2.ujaen.es:$FRONTEND_PORT"
export VITE_APP_BASE_PATH="/generadorexamenesllm/"
export VITE_API_URL=""