Friendly fork of SSOwat from the YunoHost project on GitHub.
Go to file
Alexis Gavoty d1cd8f0e9a Strange Rpi bugfix 2013-12-14 10:22:30 +01:00
portal User access 2013-10-29 10:48:56 +00:00
.gitignore Add .gitignore 2013-10-20 18:31:37 +02:00
README.md Update README.md 2013-10-26 15:29:51 +02:00
access.lua Remove empty spaces in access.lua 2013-12-03 19:46:48 +01:00
conf.json Update conf.json 2013-12-13 19:45:36 +01:00
hige.lua Strange Rpi bugfix 2013-12-14 10:22:30 +01:00
init.lua ARM cache bugfix 2013-11-29 16:29:57 +01:00

README.md

SSOwat

A simple LDAP SSO for nginx, written in Lua

Requirements

  • Nginx-extras from Debian wheezy-backports
  • lua-json
  • lua-ldap

OR

Installation

  • Fetch the repository
git clone https://github.com/Kloadut/SSOwat /etc/ssowat
  • Edit SSOwat configuration
nano /etc/ssowat/conf.json

Nginx conf

  • Add SSOwat's Nginx configuration (http{} scope)
nano /etc/nginx/conf.d/ssowat.conf

lua_shared_dict cache 10m;
init_by_lua_file   /etc/ssowat/init.lua;
access_by_lua_file /etc/ssowat/access.lua;

That's it !