-
-
Save dcode/5b013cfc32e7482e4b6a8061203aa99d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0.0.0 { | |
redir /app/static /app/static/ | |
proxy / kibana:5601 { | |
except /app/static | |
except /index.html | |
} | |
log stdout | |
errors stdout | |
root /srv | |
} | |
0.0.0.0/app/static/ { | |
header / { | |
X-Requested-URI {uri} | |
X-Requested-Path {path} | |
X-Requested-Dir {dir} | |
X-Requested-File {file} | |
} | |
reauth { | |
path / | |
upstream url=http://kibana:5601/app/kibana,cookies=true,follow=true,match=login | |
failure redirect target=/login?next={uri} | |
} | |
root /srv | |
log stdout | |
errors stdout | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment