diff --git a/content/fotos/p01/foto.jpg b/content/fotos/p01/foto.jpg deleted file mode 100644 index af7ac23..0000000 Binary files a/content/fotos/p01/foto.jpg and /dev/null differ diff --git a/content/fotos/p01/index.md b/content/fotos/p01/index.md deleted file mode 100644 index 4682507..0000000 --- a/content/fotos/p01/index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -image = "foto.jpg" -title = "Playa y sombrero en mano" -type = "gallery" -+++ - -"La brisa de la playa y el calor del sol en mi cara. -Solo yo, mi fiel sombrero y la tranquilidad infinita del océano. -Pura felicidad" diff --git a/content/fotos/p02/foto.jpg b/content/fotos/p02/foto.jpg deleted file mode 100644 index 8a698c3..0000000 Binary files a/content/fotos/p02/foto.jpg and /dev/null differ diff --git a/content/fotos/p02/index.md b/content/fotos/p02/index.md deleted file mode 100644 index cfc4a4e..0000000 --- a/content/fotos/p02/index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -image = "foto.jpg" -title = "En medio de la naturaleza" -type = "gallery" -+++ - -"En medio del encantador abrazo de la naturaleza, -una foto para recordar buenos tiempos" diff --git a/content/fotos/p03/foto.jpg b/content/fotos/p03/foto.jpg deleted file mode 100644 index 6a0a968..0000000 Binary files a/content/fotos/p03/foto.jpg and /dev/null differ diff --git a/content/fotos/p03/index.md b/content/fotos/p03/index.md deleted file mode 100644 index eb81c3f..0000000 --- a/content/fotos/p03/index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -image = "foto.jpg" -title = "Ritmo vibrante de la noche" -type = "gallery" -+++ - -"En el ritmo vibrante de la noche, -vestido para una importante celebración" diff --git a/content/fotos/p04/foto.jpg b/content/fotos/p04/foto.jpg deleted file mode 100644 index 98c3c3a..0000000 Binary files a/content/fotos/p04/foto.jpg and /dev/null differ diff --git a/content/fotos/p04/index.md b/content/fotos/p04/index.md deleted file mode 100644 index c8f688e..0000000 --- a/content/fotos/p04/index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -image = "foto.jpg" -title = "Unión" -type = "gallery" -+++ - -"Los momentos más importantes y preciados, son a veces -los más simples" diff --git a/content/fotos/p05/foto.jpg b/content/fotos/p05/foto.jpg deleted file mode 100644 index 2aae78f..0000000 Binary files a/content/fotos/p05/foto.jpg and /dev/null differ diff --git a/content/fotos/p05/index.md b/content/fotos/p05/index.md deleted file mode 100644 index 4d06612..0000000 --- a/content/fotos/p05/index.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -image = "foto.jpg" -title = "En un abrir y cerrar de ojos" -type = "gallery" -+++ - -"Este momento es realmente emotivo y para siempre -recordará el maravilloso logro de crear una familia" diff --git a/content/fotos/p06/foto.jpg b/content/fotos/p06/foto.jpg deleted file mode 100644 index 0d98318..0000000 Binary files a/content/fotos/p06/foto.jpg and /dev/null differ diff --git a/content/fotos/p06/index.md b/content/fotos/p06/index.md deleted file mode 100644 index 1684ded..0000000 --- a/content/fotos/p06/index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -image = "foto.jpg" -title = "Decisión" -type = "gallery" -+++ - -"A medida que nuestras manos se entrelazan, se abre un nuevo capítulo. -Adornado con la promesa eterna del amor, con el corazón rebosante de alegría, -entramos en el camino de la unión" diff --git a/content/fotos/p08/foto.jpg b/content/fotos/p08/foto.jpg new file mode 100644 index 0000000..31079e9 Binary files /dev/null and b/content/fotos/p08/foto.jpg differ diff --git a/content/fotos/p08/index.md b/content/fotos/p08/index.md new file mode 100644 index 0000000..1fb5c8d --- /dev/null +++ b/content/fotos/p08/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 1 BW" +type = "gallery" ++++ diff --git a/content/fotos/p09/foto.jpg b/content/fotos/p09/foto.jpg new file mode 100644 index 0000000..322b5ef Binary files /dev/null and b/content/fotos/p09/foto.jpg differ diff --git a/content/fotos/p09/index.md b/content/fotos/p09/index.md new file mode 100644 index 0000000..28d7db7 --- /dev/null +++ b/content/fotos/p09/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 2 BW" +type = "gallery" ++++ diff --git a/content/fotos/p10/foto.jpg b/content/fotos/p10/foto.jpg new file mode 100644 index 0000000..e29f858 Binary files /dev/null and b/content/fotos/p10/foto.jpg differ diff --git a/content/fotos/p10/index.md b/content/fotos/p10/index.md new file mode 100644 index 0000000..f6199cf --- /dev/null +++ b/content/fotos/p10/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 3 BW" +type = "gallery" ++++ diff --git a/content/fotos/p11/foto.jpg b/content/fotos/p11/foto.jpg new file mode 100644 index 0000000..c3e409d Binary files /dev/null and b/content/fotos/p11/foto.jpg differ diff --git a/content/fotos/p11/index.md b/content/fotos/p11/index.md new file mode 100644 index 0000000..f356b36 --- /dev/null +++ b/content/fotos/p11/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 4 BW" +type = "gallery" ++++ diff --git a/content/fotos/p12/foto.jpg b/content/fotos/p12/foto.jpg new file mode 100644 index 0000000..eafc098 Binary files /dev/null and b/content/fotos/p12/foto.jpg differ diff --git a/content/fotos/p12/index.md b/content/fotos/p12/index.md new file mode 100644 index 0000000..9059af4 --- /dev/null +++ b/content/fotos/p12/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 5 BW" +type = "gallery" ++++ diff --git a/content/fotos/p13/foto.jpg b/content/fotos/p13/foto.jpg new file mode 100644 index 0000000..ad71d15 Binary files /dev/null and b/content/fotos/p13/foto.jpg differ diff --git a/content/fotos/p13/index.md b/content/fotos/p13/index.md new file mode 100644 index 0000000..46d6bbc --- /dev/null +++ b/content/fotos/p13/index.md @@ -0,0 +1,5 @@ ++++ +image = "foto.jpg" +title = "Paisaje 6 BW" +type = "gallery" ++++ diff --git a/content/snippets/reverse-proxy-nginx.md b/content/snippets/reverse-proxy-nginx.md new file mode 100644 index 0000000..4fc4acf --- /dev/null +++ b/content/snippets/reverse-proxy-nginx.md @@ -0,0 +1,46 @@ +--- +title: Ejemplo 'reverse proxy' en nginx +date: 2023-10-30 +--- + +La aplicación corriendo en el puerto `8080` en este caso, podrá ser visitada a través de internet +usando el dominio `example.org`, es posible redirigir subdominios. + +Entonces, este método permite tener varias aplicaciones escuchando tráfico en diferentes puertos +y redirigir el tráfico de subdominios a las diferentes aplicaciones. Por ejemplo, redirigir +`git.example.org` a un servidor git, y `mumble.example.org` a un servidor de mumble. + +### Configuración nginx + +Guardar el siguiente archivo de configuración como `/etc/nginx/sites-available/example.org.conf`, +reemplazar `example.org` y `8080` con el dominio y puerto deseados. + + +```nginx +server { + listen 80; + listen [::]:80; + + server_name example.org; + + location / { + proxy_pass http://localhost:8080/; + } +} +``` + +### Activar sitio + +```shell +ln -s /etc/nginx/sites-available/example.org.conf /etc/nginx/sites-enabled/ +systemctl reload nginx +``` + +### SSL/TLS + +Certbot debería configurar automáticamente los certificados y la configuración de nginx + +```shell +certbot --nginx +systemctl reload nginx +``` diff --git a/content/snippets/site-nginx.md b/content/snippets/site-nginx.md new file mode 100644 index 0000000..557402b --- /dev/null +++ b/content/snippets/site-nginx.md @@ -0,0 +1,50 @@ +--- +title: Ejemplo configuración de sitio en nginx +date: 2023-10-30 +--- + +### Configuración nginx + +Guardar el siguiente archivo de configuración como `/etc/nginx/sites-available/example.org.conf`, +reemplazar `example.org` con el dominio deseado y `examplesite` con el directorio del sitio. + + +```nginx +server { + listen 80; + listen [::]:80; + + server_name example.org; + + root /var/www/examplesite; + + # Añadir index.php en caso de usar php + index index.html; + + location / { + try_files $uri $uri/ =404; + } + + # Descomentar en caso de usar php + #location ~ \.php$ { + # include snippets/fastcgi-php.conf; + # fastcgi_pass unix:/run/php/php7.4-fpm.sock; + #} +} +``` + +### Activar el sitio + +```shell +ln -s /etc/nginx/sites-available/example.org.conf /etc/nginx/sites-enabled/ +systemctl reload nginx +``` + +### SSL/TLS + +Certbot debería configurar automáticamente los certificados y la configuración de nginx + +```shell +certbot --nginx +systemctl reload nginx +``` diff --git a/themes/blog/static/css/default.css b/themes/blog/static/css/default.css index b7a0800..d8f563b 100644 --- a/themes/blog/static/css/default.css +++ b/themes/blog/static/css/default.css @@ -66,7 +66,7 @@ img { } .single { - max-height: 60vh; + max-height: 80vh; max-width: 90vw; width: auto; }