This commit is contained in:
David Arranz 2024-11-05 10:05:57 +01:00
parent 77fb1514d3
commit 4034520e48
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ https://presupuestos.uecko.com:13001 {
}
:443 {
root * /www
root * /srv
file_server
try_files {path} /index.html # Esto asegura que las rutas en React funcionen correctamente
}

View File

@ -11,7 +11,7 @@ services:
ports:
- 80:80 # Puerto HTTP (Caddy lo redirige automáticamente a HTTPS)
- 443:443 # Puerto HTTPS
- 13001:13001
- 13001:13001 # reverse proxy al backend
networks:
- reverse_proxy
restart: on-failure