mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-16 22:03:23 +00:00
Implemented not working oauth2-proxy draft
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
location /
|
||||
{
|
||||
{% if oauth2_proxy_active | bool %}
|
||||
auth_request /oauth2/auth;
|
||||
error_page 401 = /oauth2/start;
|
||||
{% endif %}
|
||||
|
||||
proxy_pass http://127.0.0.1:{{http_port}}/;
|
||||
|
||||
# headers
|
||||
|
||||
Reference in New Issue
Block a user