mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Update README.md
This commit is contained in:
parent
aeb79ea929
commit
a142857856
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue