# HOSTING — Despliegue en Servidor NGINX Privado > Última actualización: 2026-05-03 ## Servidor | Parámetro | Valor | |---|---| | **IP** | `10.0.10.117` | | **Acceso SSH** | `ssh rmonla@10.0.10.117` | | **Dominio público** | `rmonla.duckdns.org` (SSL Let's Encrypt) | | **Web Server** | NGINX | ## URL de Acceso | Entorno | URL | |---|---| | **Red local** | `http://10.0.10.117/ksaldis-dt` | | **Público** | `https://rmonla.duckdns.org/ksaldis-dt` | ## Qué se Sirve Un único archivo `index.html` con el **Libro de Estudio completo** del Curso de Entrenador Nacional de Vóley. Es contenido estático puro, autónomo, sin dependencias externas. ``` /var/www/ksaldis-dt/ └── index.html ← LIBRO_DE_ESTUDIO.html renombrado ``` ## Configuración NGINX Archivo: `/etc/nginx/sites-available/default` Bloque dentro del `server {}` principal: ```nginx # Ruta /ksaldis-dt — Material de estudio de Voley location /ksaldis-dt { alias /var/www/ksaldis-dt; index index.html; try_files $uri $uri/ =404; autoindex on; } ``` ## Deploy Automático (Webhook) Al hacer `git push` a Gitea, el sitio se actualiza solo: ``` git push → Gitea webhook → deploy.php → deploy_ksaldis.sh → sitio actualizado ``` | Componente | Detalle | |---|---| | **Webhook URL** | `https://rmonla.duckdns.org/ksaldis-dt/deploy.php` | | **Secret** | `ksaldis2026deploy` | | **Evento** | Push | | **Script** | `/var/www/ksaldis-dt/deploy_ksaldis.sh` | | **Repo clonado** | `/var/www/ksaldis-dt/.repo` | | **Log** | `/var/www/ksaldis-dt/deploy.log` | ### Deploy manual (si fuera necesario) ```bash scp descargar-curso/descargas/LIBRO_DE_ESTUDIO.html rmonla@10.0.10.117:/var/www/ksaldis-dt/index.html ``` ## Otros Sitios en el Mismo Servidor | Ruta | Directorio | Tipo | |---|---|---| | `/` | `/var/www/html` | Estática | | `/vcby` | `/var/www/vcby` | PHP (ViaCrucis) | | `/ksaldis-dt` | `/var/www/ksaldis-dt` | Estática |