blob: 3c412dea8a3df322a1803ba6350de375deaf985e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
## OAuth2 Proxy Config File
request_logging = true
email_domains = "*"
reverse_proxy = true
redirect_url = "https://{{ oauth_proxy_domain }}/oauth2/callback"
real_client_ip_header = "X-Forwarded-For"
trusted_ips = "{{ homelab_network }}"
## Cookie Settings
cookie_name = "_oauth2_proxy"
cookie_secret = "{{ oauth_proxy_cookie_secret }}"
cookie_domains = [".{{ domain }}", "{{ domain }}"]
whitelist_domains = [".{{ domain }}", "{{ domain }}"]
cookie_expire = "24h"
cookie_refresh = "1h"
cookie_secure = true
session_store_type = "redis"
redis_connection_url = "redis://oauth2-cache"
## Templating
banner = "-"
footer = "-"
custom_sign_in_logo="-"
custom_templates_dir="/conf/templates"
|