{ "version": 1, "http_listen": "0.0.0.0:80", "https_listen": "0.0.0.0:443", "https_port": 443, "cert_dir": "/var/lib/ianitor/certs", "state_dir": "/var/lib/ianitor", "access_log": "/var/log/ianitor/access.log", "acme": { "directory": "https://acme-staging-v02.api.letsencrypt.org/directory", "email": "admin@example.org" }, "forward_auth": { "upstream": { "address": "127.0.0.1:9091", "tls": false, "sni": "" }, "path_and_query": "/api/authz/forward-auth", "copy_headers": [ "Remote-User", "Remote-Groups", "Remote-Email", "Remote-Name" ] }, "hosts": [ { "hostname": "photos.example.org", "tls": { "source": "acme" }, "upstreams": [ { "address": "127.0.0.1:2342", "tls": false, "sni": "" }, { "address": "127.0.0.1:2343", "tls": false, "sni": "" } ], "forward_auth": false, "websockets": true, "request_headers": [ { "op": "set", "name": "X-Api-Key", "value": { "kind": "secret", "name": "photos_api_key" } }, { "op": "remove", "name": "X-Debug" } ], "response_headers": [ { "op": "set", "name": "Strict-Transport-Security", "value": { "kind": "literal", "value": "max-age=31536000" } }, { "op": "remove", "name": "X-Powered-By" } ], "health_check": { "path": "/api/v1/status", "interval_secs": 15 }, "access_log": true }, { "hostname": "status.example.org", "tls": { "source": "acme" }, "upstreams": [ { "address": "[::1]:3001", "tls": false, "sni": "" } ], "forward_auth": false, "websockets": true, "request_headers": [], "response_headers": [], "health_check": null, "access_log": false }, { "hostname": "wiki.home.test", "tls": { "source": "files", "cert": "/var/lib/ianitor/certs/wiki.home.test.crt", "key": "/var/lib/ianitor/certs/wiki.home.test.key" }, "upstreams": [ { "address": "wiki.lan:8443", "tls": true, "sni": "wiki.lan" } ], "forward_auth": true, "websockets": false, "request_headers": [ { "op": "set", "name": "Authorization", "value": { "kind": "secret", "name": "wiki_token" } } ], "response_headers": [], "health_check": null, "access_log": false } ] }