Bluag is a lightweight Blog Software. Its written in lua and based on the luafcgid-Server.
This is an sample configuration:
server {
listen 80;
listen [::]:80;
server_name domain.tld;
root /path/to/bluag;
index index.html index.htm index.lua;
location ~ \.lua$ {
fastcgi_pass unix:/var/tmp/luafcgid.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.lua;
include fastcgi_params;
}
}
Don't forget to restart nginx after the changes!
./luafcgid scripts/etc/config.debian.lua
Georg @georgkrause Krause, Member of Hackbar.IT
customized ISC-license © Georg Krause