Skip to content

srdgame/luasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luasp

an fork of luasp for making a lua fascgi which could be used by nginx

Build

install lua5.1 first install premake4 go to sapi/cgi folder

premake4 gmake
make
sudo cp bin/luasp_fcgi /usr/sbin/

Build module

go ext folder and make the module you need

make
sudo cp lua*.so /usr/lib/luasp/

Usage

add following to your (nginx/lighttpd) init script

# start cgi
spawn-fcgi -F 4 -u www-data -s /var/run/nginx-fcgi.sock -P /var/run/nginx-fcgi.pid -- /usr/sbin/luasp_cgi
# stop cgi
cat /var/run/nginx-fcgi.pid | xargs -n 1 kill

About

an fork of luasp for making a lua fascgi which could be used by nginx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published