Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
This commit is contained in:
		
							parent
							
								
									f2661c47ba
								
							
						
					
					
						commit
						7a6204c8fd
					
				|  | @ -6,7 +6,7 @@ https://pusher.github.io/oauth2_proxy. | ||||||
| When making changes to this docs site, please test your changes locally: | When making changes to this docs site, please test your changes locally: | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| make serve | docs$ make serve | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| To run the docs site locally you will need Ruby at version 2.1.0 or | To run the docs site locally you will need Ruby at version 2.1.0 or | ||||||
|  |  | ||||||
|  | @ -38,7 +38,7 @@ An example [oauth2_proxy.cfg]({{ site.gitweb }}/contrib/oauth2_proxy.cfg.example | ||||||
| | `-cookie-path` | string | an optional cookie path to force cookies to (ie: `/poc/`) | `"/"` | | | `-cookie-path` | string | an optional cookie path to force cookies to (ie: `/poc/`) | `"/"` | | ||||||
| | `-cookie-refresh` | duration | refresh the cookie after this duration; `0` to disable | | | | `-cookie-refresh` | duration | refresh the cookie after this duration; `0` to disable | | | ||||||
| | `-cookie-secret` | string | the seed string for secure cookies (optionally base64 encoded) | | | | `-cookie-secret` | string | the seed string for secure cookies (optionally base64 encoded) | | | ||||||
| | `-cookie-secure` | bool | set secure (HTTPS) cookie flag | true | | | `-cookie-secure` | bool | set [secure (HTTPS only) cookie flag](https://owasp.org/www-community/controls/SecureFlag) | true | | ||||||
| | `-cookie-samesite` | string | set SameSite cookie attribute (ie: `"lax"`, `"strict"`, `"none"`, or `""`). | `""` | | | `-cookie-samesite` | string | set SameSite cookie attribute (ie: `"lax"`, `"strict"`, `"none"`, or `""`). | `""` | | ||||||
| | `-custom-templates-dir` | string | path to custom html templates | | | | `-custom-templates-dir` | string | path to custom html templates | | | ||||||
| | `-display-htpasswd-form` | bool | display username / password login form if an htpasswd file is provided | true | | | `-display-htpasswd-form` | bool | display username / password login form if an htpasswd file is provided | true | | ||||||
|  | @ -96,7 +96,7 @@ An example [oauth2_proxy.cfg]({{ site.gitweb }}/contrib/oauth2_proxy.cfg.example | ||||||
| | `-resource` | string | The resource that is protected (Azure AD only) | | | | `-resource` | string | The resource that is protected (Azure AD only) | | | ||||||
| | `-reverse-proxy` | bool | are we running behind a reverse proxy, controls whether headers like X-Real-Ip are accepted | false | | | `-reverse-proxy` | bool | are we running behind a reverse proxy, controls whether headers like X-Real-Ip are accepted | false | | ||||||
| | `-scope` | string | OAuth scope specification | | | | `-scope` | string | OAuth scope specification | | | ||||||
| | `-session-store-type` | string | Session data storage backend | cookie | | | `-session-store-type` | string | [Session data storage backend](sessions); redis or cookie | cookie | | ||||||
| | `-set-xauthrequest` | bool | set X-Auth-Request-User and X-Auth-Request-Email response headers (useful in Nginx auth_request mode) | false | | | `-set-xauthrequest` | bool | set X-Auth-Request-User and X-Auth-Request-Email response headers (useful in Nginx auth_request mode) | false | | ||||||
| | `-set-authorization-header` | bool | set Authorization Bearer response header (useful in Nginx auth_request mode) | false | | | `-set-authorization-header` | bool | set Authorization Bearer response header (useful in Nginx auth_request mode) | false | | ||||||
| | `-signature-key` | string | GAP-Signature request signature key (algorithm:secretkey) | | | | `-signature-key` | string | GAP-Signature request signature key (algorithm:secretkey) | | | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue