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
2f63e6899d
commit
cec0ca6959
1 changed files with 1 additions and 11 deletions
12
README.md
12
README.md
|
@ -33,7 +33,7 @@ nano /etc/ssowat/conf.json
|
||||||
Nginx conf
|
Nginx conf
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* Add SSOwat's Nginx configuration
|
* Add SSOwat's Nginx configuration (http{} scope)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nano /etc/nginx/conf.d/ssowat.conf
|
nano /etc/nginx/conf.d/ssowat.conf
|
||||||
|
@ -44,16 +44,6 @@ nano /etc/nginx/conf.d/ssowat.conf
|
||||||
init_by_lua_file /etc/ssowat/init.lua;
|
init_by_lua_file /etc/ssowat/init.lua;
|
||||||
access_by_lua_file /etc/ssowat/access.lua;
|
access_by_lua_file /etc/ssowat/access.lua;
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80; # Do not forget HTTPS for production
|
|
||||||
|
|
||||||
location /ssowat {
|
|
||||||
alias /etc/ssowat/portal;
|
|
||||||
default_type text/html;
|
|
||||||
index index.html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**That's it !**
|
**That's it !**
|
||||||
|
|
Loading…
Reference in a new issue