Created
September 27, 2013 13:42
-
-
Save danshultz/6728765 to your computer and use it in GitHub Desktop.
Simple ngxin config Taken from my Kibana three config
This file contains hidden or 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 ; | |
access_log /var/log/nginx/kibana.access.log; | |
auth_basic "Restricted"; | |
auth_basic_user_file /etc/nginx/.htpasswd; | |
location / { | |
root /var/www/apps/kibana_three/current; | |
index index.html index.htm; | |
} | |
location ~ ^/_aliases$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 90; | |
} | |
location ~ ^/.*/_search$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 90; | |
} | |
location ~ ^/kibana-int/dashboard/.*$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 90; | |
} | |
location ~ ^/kibana-int/temp.*$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 90; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment