.
This commit is contained in:
parent
77fb1514d3
commit
4034520e48
@ -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
|
||||||
}
|
}
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user