mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-10 07:37:33 +02:00
docs: replace httpbin with verify (#1702)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
4eec2ed1d5
commit
c23c8b34b3
34 changed files with 154 additions and 154 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue