Merge pull request #272 from semenko/master
Fix documentation for auth_request directive
This commit is contained in:
		
						commit
						f9e649456b
					
				|  | @ -350,13 +350,13 @@ server { | ||||||
|   server_name ...; |   server_name ...; | ||||||
|   include ssl/ssl.conf; |   include ssl/ssl.conf; | ||||||
| 
 | 
 | ||||||
|   location = /auth { |   location = /oauth2/auth { | ||||||
|     internal; |     internal; | ||||||
|     proxy_pass http://127.0.0.1:4180; |     proxy_pass http://127.0.0.1:4180; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   location / { |   location / { | ||||||
|     auth_request /auth; |     auth_request /oauth2/auth; | ||||||
|     error_page 401 = ...; |     error_page 401 = ...; | ||||||
| 
 | 
 | ||||||
|     root /path/to/the/site; |     root /path/to/the/site; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue