Skip to content

Instantly share code, notes, and snippets.

View glidenote's full-sized avatar

Akira Maeda glidenote

View GitHub Profile
@lamanotrama
lamanotrama / oauth2_proxy.conf
Created January 13, 2016 05:45
oauth2_proxy + nginx auth_requstのサンプルだよ
# please include in server context
# ref: https://github.com/bitly/oauth2_proxy#endpoint-documentation
# for checking login status.
# only returns a 202 Accepted response or a 401 Unauthorized response;
location = /oauth2/auth {
internal;
# return 202 if local request, for inftataster test
set $local 0;