Use Sinbad2 production ports 8068 (backend) and 8069 (frontend).

Apache ProxyPass targets host port 8069; update compose, CI, CORS defaults, deployment docs, and production .env files for https://sinbad2.ujaen.es/generadorexamenesllm/.
This commit is contained in:
Mireya Cueto Garrido
2026-06-03 12:13:02 +02:00
parent 7dcc7dc0e1
commit d06b961a73
11 changed files with 67 additions and 40 deletions
+5 -4
View File
@@ -2,11 +2,12 @@
# Sin estas líneas, /generadorexamenesllm/ lo sirve el CMS de Sinbad2, no la app Docker.
#
# URL pública: https://sinbad2.ujaen.es/generadorexamenesllm/
# Contenedor frontend (HTTP): host.docker.internal:8075
# Contenedor backend (HTTP, solo interno): :8074
# Contenedor frontend (HTTP): host.docker.internal:8069
# Contenedor backend (HTTP en host): :8068 (red Docker interna sigue en 8074)
ProxyPass /generadorexamenesllm http://host.docker.internal:8075/
ProxyPassReverse /generadorexamenesllm http://host.docker.internal:8075/
# Colocar ANTES de las reglas de WordPress del VirtualHost HTTPS.
ProxyPass /generadorexamenesllm http://host.docker.internal:8069/
ProxyPassReverse /generadorexamenesllm http://host.docker.internal:8069/
# Opcional: reenviar cabeceras de proxy (Apache 2.4+)
# RequestHeader set X-Forwarded-Proto "https"