Fix the oauth2-proxy role, add to playbook
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
server {
|
||||
listen 443 default ssl;
|
||||
server_name auth.dev.local;
|
||||
server_name "auth.{{ base_domain }}";
|
||||
add_header Strict-Transport-Security max-age=2592000;
|
||||
set $oauth2proxy oauth2-proxy;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:4180;
|
||||
proxy_pass http://$oauth2proxy:4180;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
|
Reference in New Issue
Block a user