-
-
Save timogoebel/10522928 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.domain.com; | |
access_log /var/log/nginx/kibana_access.log; | |
error_log /var/log/nginx/kibana_error.log; | |
location / { | |
root /var/www; | |
index index.html; | |
} | |
location ~ /_aliases$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
location ~ /_nodes$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
location ~ /*/_search$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
location ~ /*/_mapping$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
location ~ ^/kibana-int/dashboard/.*$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
location ~ ^/kibana-int/temp.*$ { | |
proxy_pass http://localhost:9200; | |
proxy_read_timeout 180; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment