diff --git a/do b/Dockerfile
similarity index 92%
rename from do
rename to Dockerfile
index 9c6eb09..b9229c3 100644
--- a/do
+++ b/Dockerfile
@@ -4,13 +4,14 @@ RUN apt-get update && apt-get install -y nginx libnginx-mod-rtmp
COPY mirar-release-key.asc /key.asc
-COPY riot-release-key.asc /key.asc
-
# config nginx with rtmp app points
COPY nginx.conf /etc/nginx/
RUN mkdir -P /var/www/mirar.sindominio.net/hls
+RUN nginx -t
+RUN nginx -s reload
+
WORKDIR /tmp/
# get video.min.js and video-js.min.css
@@ -22,7 +23,7 @@ WORKDIR /tmp/
#get jquery
RUN wget https://code.jquery.com/jquery-3.5.1.slim.min.js
-RUN mv /tmp/jquery-3.5.1.slim.min.js /var/www/html/live.example.com/jquery-slim.min.js
+RUN cp /tmp/jquery-3.5.1.slim.min.js /var/www/html/live.example.com/jquery-slim.min.js
---
# App
diff --git a/HOWTO.md b/HOWTO.md
new file mode 100644
index 0000000..1ebdc55
--- /dev/null
+++ b/HOWTO.md
@@ -0,0 +1,25 @@
+# howto create a live stream
+
+Seguimos los pasos documentados en la trastienda
+https://sindominio.net/trastienda/tecnica/servicios/streamingdirecto/
+
+include index.html,video-js.css, video.js and jquery-slim.min.js and you are done.
+
+# howto add support on jitsi to stream
+
+### solucion 1: hackeando jitsi
+estable y funciona desde hace un tiempo según su autor:
+https://github.com/jitsi/jitsi-meet/issues/2829#issuecomment-509712706
+
+### solución 2: con un script ffmpeg
+solucion no intusiva con jitis y permite striming de cualquier fuents.
+
+https://community.jitsi.org/t/how-do-i-change-youtube-live-stream-to-another-rtmp-server-url/24817/7?u=lodopidolo
+
+### solución 3: simulcast a cualquier otra págia
+
+permite enviar simultáneamente a muchos streamers
+https://community.jitsi.org/t/stream-to-any-or-multiple-rtmp-destinations-record-simultaneously/51943
+
+### solución 4: rtmp nginix video por exo/guifipedro
+https://gitlab.com/guifi-exo/wiki/-/blob/master/howto/rtmp_streamer.md
diff --git a/README.md b/README.md
deleted file mode 100644
index 47461e1..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# mirar
-
-servidor de streaming rtmp en sindominio.net
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..3c34aa5
--- /dev/null
+++ b/index.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+ mirar.sindominio.net - tu streaming en sindominio - plataforma de emisiones en directo autogestionada por sindominio.net
+
+
+
+
+
+
+
mirar.sindominio.net
+
+
+
+
+
+ Para crear un nuevo stream, elije un nombre único para ello y ponlo en tu sofware de emisión para que envie la señal a rtmp://mirar.sindominio.net/entrada/ con una llave (strem key) nombre_stream que tu quieras.
+
+
+ En ese momento podrás ver el directo en:
+ https://mirar.sindominio.net/#nombre_stream.
+
+
+ Tambien puedes apuntar tu visor de video favorito a la URL
+ https://mirar.sindominio.net/hls/nombre_stream.m3u8. Usa este mismo enlace para incrustar el vídeo en tu web.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/nginx.conf b/nginx.conf
new file mode 100644
index 0000000..d35fa51
--- /dev/null
+++ b/nginx.conf
@@ -0,0 +1,21 @@
+rtmp {
+ access_log /var/log/nginx/rtmp-access.log;
+ # abre nginx para escuchar por el puerto
+ server {
+ listen 1935;
+ chunk_size 4096;
+ # dale un nombre a tu aplicacion
+ application entrada {
+ live on;
+ # enciende HLS
+ hls on;
+ hls_path /var/www/mirar.sindominio.net/hls/;
+ # ajustes de hls
+ hls_fragment 3;
+ hls_playlist_length 60;
+ # para bloquear el directo a VLC o web
+ # quita el comentario de la línea siguiente
+ # deny play all;
+ }
+ }
+}