Update README.md

This commit is contained in:
Kload 2013-10-16 20:50:02 +02:00
parent aeb79ea929
commit a142857856

View file

@ -18,14 +18,19 @@ Requirements
Installation Installation
------------ ------------
* Fetch the repository
```bash ```bash
git clone https://github.com/Kloadut/SSOwat /etc/ssowat git clone https://github.com/Kloadut/SSOwat /etc/ssowat
```
* Edit SSOwat configuration
```
nano /etc/ssowat/conf.json nano /etc/ssowat/conf.json
``` ```
Nginx conf Nginx conf
---------- ----------
* Add SSOwat's Nginx configuration
```bash ```bash
nano /etc/nginx/conf.d/ssowat.conf nano /etc/nginx/conf.d/ssowat.conf
``` ```
@ -38,7 +43,7 @@ access_by_lua_file /etc/ssowat/access.lua;
server { server {
listen 80; # Do not forget HTTPS for production listen 80; # Do not forget HTTPS for production
location /sso { location /ssowat {
alias /etc/ssowat/portal; alias /etc/ssowat/portal;
default_type text/html; default_type text/html;
index index.html; index index.html;