From a9468b4ea9fa24633256841ac932db1a3a4958c7 Mon Sep 17 00:00:00 2001
From: Recolic <root@recolic.net>
Date: Tue, 29 Sep 2020 14:17:42 +0800
Subject: [PATCH] Update README.md

---
 README.md | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/README.md b/README.md
index abe6a17..280e041 100644
--- a/README.md
+++ b/README.md
@@ -376,3 +376,28 @@ docker run --name vbox_http --restart=always -p 9399:80 \
 ```
 nohup sudo -u vbox /usr/bin/vboxwebsrv --host 0.0.0.0 & disown
 ```
+
+## blog (htmly), included in www.recolic.net docker image
+
+htmly is flat-file-d, so just add nginx config: 
+
+```
+    location /htmly/ {
+        try_files $uri $uri/ /htmly/index.php?$args;
+    }
+  location ~ /htmly/config/ {
+     deny all;
+  }
+  location ~ \.php$ {
+        fastcgi_pass			unix:/run/php-fpm/php-fpm.sock;
+        fastcgi_index  index.php;
+        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
+        include        fastcgi_params;
+  }
+```
+
+then `mkdir htmly && chmod 777 htmly && cd htmly && wget https://github.com/danpros/htmly/releases/download/v2.7.5/installer.php`. 
+
+Then everything is done. Admin password is `recolic, genpasswd(recolic.net, v4)`
+
+
-- 
GitLab