Merge pull request #1345 from pburgisser/add_skip_route_exemple
Adding example for auth skipping
This commit is contained in:
		
						commit
						5928fe5485
					
				|  | @ -63,6 +63,12 @@ | ||||||
| ## enabling exposes a username/login signin form | ## enabling exposes a username/login signin form | ||||||
| # htpasswd_file = "" | # htpasswd_file = "" | ||||||
| 
 | 
 | ||||||
|  | ## bypass authentication for requests that match the method & path. Format: method=path_regex OR path_regex alone for all methods | ||||||
|  | # skip_auth_routes = [ | ||||||
|  | #   "GET=^/probe", | ||||||
|  | #   "^/metrics" | ||||||
|  | # ] | ||||||
|  | 
 | ||||||
| ## Templates | ## Templates | ||||||
| ## optional directory with custom sign_in.html and error.html | ## optional directory with custom sign_in.html and error.html | ||||||
| # custom_templates_dir = "" | # custom_templates_dir = "" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue