homelab/roles/oauth2proxy/templates/oauth2-proxy.conf.j2

15 lines
418 B
Plaintext
Raw Normal View History

2021-05-05 22:03:31 +00:00
server {
listen 443 default ssl;
server_name auth.dev.local;
add_header Strict-Transport-Security max-age=2592000;
location / {
proxy_pass http://127.0.0.1:4180;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 1;
proxy_send_timeout 30;
proxy_read_timeout 30;
}
}