docs: add nginx example (#1329)

* docs: add nginx example

Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>
This commit is contained in:
Travis Groth 2020-08-26 17:10:23 -04:00 committed by GitHub
parent 51bdf9baae
commit a69b9957a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 336 additions and 0 deletions

17
examples/nginx/README.md Normal file
View file

@ -0,0 +1,17 @@
# Pomerium as external auth provider for Nginx
Run this demo locally on your docker-compose capable workstation, or replace `localhost.pomerium.io` with your own domain if running on a server.
## Includes
- Authentication and Authorization managed by pomerium
- Routing / reverse proxying handled by nginx
## How
- Update `config.yaml` for your e-mail address, if not using gmail/google.
- Replace secrets in `config.yaml`.
- Run `docker-compose up` from this directory.
- Navigate to `https://httpbin.localhost.pomerium.io`
- ???
- Profit