Created
May 13, 2013 17:13
-
-
Save rashidkpc/5569854 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
server { | |
listen *:80 ; | |
server_name kibana.myhost.org; | |
access_log /var/log/nginx/kibana.myhost.org.access.log; | |
location ~ ^/_aliases$ { | |
proxy_pass http://127.0.0.1:9200; | |
proxy_read_timeout 90; | |
} | |
location ~ ^/.*/_search$ { | |
proxy_pass http://127.0.0.1:9200; | |
proxy_read_timeout 90; | |
} | |
location / { | |
root /usr/share/kibana3; | |
index index.html index.htm index.php ; | |
} | |
location ~ ^/kibana-int/dashboard/.*$ { | |
proxy_pass http://127.0.0.1:9200; | |
proxy_read_timeout 90; | |
auth_basic "Restricted"; | |
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd; | |
} | |
location ~ ^/kibana-int/temp.*$ { | |
proxy_pass http://127.0.0.1:9200; | |
proxy_read_timeout 90; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment