Created
April 11, 2013 13:45
-
-
Save Finkregh/5363493 to your computer and use it in GitHub Desktop.
running kibana behind nginx as reverse-proxy (replace '/kibana' with '', if you do not want to access kibana via /kibana)
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
location /kibana { | |
# rewrite before passing to proxy | |
rewrite /kibana/(.*) /$1 break; | |
proxy_pass http://127.0.0.1:5601; | |
# include nginx' proxy-defaults | |
include proxy_params; | |
# serve static stuff directly from the static-directory | |
location /kibana/favicon.ico { | |
alias /foo/Kibana-0.2.0/static/favicon.ico; | |
} | |
location /kibana/images { | |
alias /foo/Kibana-0.2.0/static/images; | |
} | |
location /kibana/lib { | |
alias /foo/Kibana-0.2.0/static/lib; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment