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 { :443 {
root * /www root * /srv
file_server file_server
try_files {path} /index.html # Esto asegura que las rutas en React funcionen correctamente try_files {path} /index.html # Esto asegura que las rutas en React funcionen correctamente
} }

View File

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