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