From 4034520e48c06e4415364eb6210b33843463fcc3 Mon Sep 17 00:00:00 2001 From: David Arranz Date: Tue, 5 Nov 2024 10:05:57 +0100 Subject: [PATCH] . --- Caddyfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 0b56803..7b58e2b 100644 --- a/Caddyfile +++ b/Caddyfile @@ -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 } \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0ec1146..23626f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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