docs: replace httpbin with verify (#1702)

Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
bobby 2020-12-22 09:53:08 -08:00 committed by GitHub
parent 4eec2ed1d5
commit c23c8b34b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 154 additions and 154 deletions

View file

@ -12,6 +12,6 @@ Run this demo locally on your docker-compose capable workstation, or replace `lo
- 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`
- Navigate to `https://verify.localhost.pomerium.io`
- ???
- Profit

View file

@ -14,7 +14,7 @@ forward_auth_url: http://fwdauth.localhost.pomerium.io
authenticate_service_url: https://authenticate.localhost.pomerium.io
policy:
- from: https://httpbin.localhost.pomerium.io
- from: https://verify.localhost.pomerium.io
to: https://httpbin
allowed_domains:
- pomerium.com

View file

@ -11,14 +11,14 @@ services:
- "80:80"
- "443:443"
volumes:
- ./httpbin.conf:/etc/nginx/conf.d/httpbin.conf
- ./verify.conf:/etc/nginx/conf.d/verify.conf
- ./pomerium.conf:/etc/nginx/conf.d/pomerium.conf
- ./_wildcard.localhost.pomerium.io.pem:/etc/nginx/nginx.pem
- ./_wildcard.localhost.pomerium.io-key.pem:/etc/nginx/nginx-key.pem
- ./proxy.conf:/etc/nginx/proxy.conf
httpbin:
image: kennethreitz/httpbin:latest
verify:
image: pomerium/verify
expose:
- 80
pomerium:

View file

@ -3,7 +3,7 @@ server {
listen 80;
listen 443 ssl http2;
server_name httpbin.localhost.pomerium.io;
server_name verify.localhost.pomerium.io;
ssl_certificate /etc/nginx/nginx.pem;
ssl_certificate_key /etc/nginx/nginx-key.pem;
@ -57,7 +57,7 @@ server {
}
location / {
proxy_pass http://httpbin;
proxy_pass http://verify;
include /etc/nginx/proxy.conf;
# If we get a 401, respond with a named location