Add diagram to README
This commit is contained in:
parent
1535c15f98
commit
1a8ea2e630
13
README.md
13
README.md
|
@ -16,6 +16,19 @@ Usage of ./discourse-auth-proxy:
|
||||||
-sso-url="": SSO endpoint eg: http://yourdiscourse.com
|
-sso-url="": SSO endpoint eg: http://yourdiscourse.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
+--------+ proxy-url +---------+ listen-url +----------------------+
|
||||||
|
| User | ============> | Nginx | ==============> | discourse-auth-proxy |
|
||||||
|
+--------+ +---------+ +----------------------+
|
||||||
|
| |
|
||||||
|
| sso-url origin-url |
|
||||||
|
| |
|
||||||
|
v v
|
||||||
|
+-----------+ +----------------------+
|
||||||
|
| Discourse | | Protected web server |
|
||||||
|
+-----------+ +----------------------+
|
||||||
|
```
|
||||||
|
|
||||||
At the moment only "admin" users on the sso endpoint will be allowed through.
|
At the moment only "admin" users on the sso endpoint will be allowed through.
|
||||||
|
|
||||||
Note: you may use ENV vars as well to pass configuration EG:
|
Note: you may use ENV vars as well to pass configuration EG:
|
||||||
|
|
Loading…
Reference in New Issue