docs(stradaautopartes): agrega Cloudflare Tunnel y URL publica

This commit is contained in:
Orquestador CAS
2026-06-18 07:07:22 +00:00
parent db63925483
commit c1abc93a62

View File

@@ -3,7 +3,8 @@
> Aplicación web para gestión de autopartes construida con **Laravel 10**, **Jetstream**, **Livewire**, **Tailwind CSS** y **MariaDB**.
>
> **IP**: `192.168.10.113`
> **URL**: `http://192.168.10.113`
> **URL local**: `http://192.168.10.113`
> **URL pública**: `https://strada.consultoria-as.com`
> **VM**: Cisco1 VMID 113
> **Estado**: ✅ Running
@@ -225,12 +226,57 @@ chown -R www-data:www-data storage bootstrap/cache public
---
## 10. Seguridad y Pendientes
## 10. Cloudflare Tunnel
La aplicación está expuesta a internet a través de un **Cloudflare Tunnel** (`cloudflared`).
| Parámetro | Valor |
|---|---|
| **Tunnel name** | `strada` |
| **Tunnel ID** | `10c867f3-4492-497e-94e8-374ba1e02844` |
| **Subdominio** | `strada.consultoria-as.com` |
| **URL pública** | `https://strada.consultoria-as.com` |
| **Origen local** | `http://localhost:80` |
| **Servicio** | `cloudflared` |
### Comandos útiles
```bash
# Estado del servicio
systemctl status cloudflared
# Ver logs
journalctl -u cloudflared -f
# Listar tuneles
cloudflared tunnel list
# Recargar configuracion
systemctl restart cloudflared
```
### Configuración
`/root/.cloudflared/config.yml`:
```yaml
tunnel: 10c867f3-4492-497e-94e8-374ba1e02844
credentials-file: /root/.cloudflared/10c867f3-4492-497e-94e8-374ba1e02844.json
ingress:
- hostname: strada.consultoria-as.com
service: http://localhost:80
- service: http_status:404
```
---
## 11. Seguridad y Pendientes
- [ ] Cambiar password de root.
- [ ] Configurar HTTPS con certificado SSL.
- [x] Configurar HTTPS con certificado SSL (gestionado por Cloudflare).
- [ ] Crear primer usuario administrador desde `/register`.
- [ ] Configurar dominio propio si se requiere acceso público.
- [x] Configurar dominio propio para acceso público.
- [ ] Revisar y aplicar `npm audit fix` para las vulnerabilidades reportadas.
- [ ] Evaluar unir la VM a Tailscale para acceso remoto seguro.