Add diagram to README

This commit is contained in:
Kane York 2015-08-24 17:05:33 -07:00
parent 1535c15f98
commit 1a8ea2e630
1 changed files with 13 additions and 0 deletions

View File

@ -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: