Skip to content

Commit 37c0b6e

Browse files
authored
Add real_client_ip_header and reverse_proxy options to specs
1 parent 8f0a328 commit 37c0b6e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

meta/argument_specs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ argument_specs:
111111
default: "/proserver/iap"
112112
description:
113113
- Proxy prefix path.
114+
real_client_ip_header:
115+
type: "str"
116+
description:
117+
- Header to trust for the real client IP (e.g. X-Real-IP).
118+
reverse_proxy:
119+
type: "bool"
120+
description:
121+
- Whether oauth2-proxy is running behind a reverse proxy.
114122
templates:
115123
type: "dict"
116124
description:

0 commit comments

Comments
 (0)