Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2b7f92f0
Commit
2b7f92f0
authored
Oct 16, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #576 from kopf/add_nodes_route_to_reverse_proxy_example
Add /_nodes route to example reverse proxy config
parents
942fd2dc
d3993875
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
sample/apache_ldap.conf
+7
-7
sample/nginx.conf
+5
-2
No files found.
sample/apache_ldap.conf
View file @
2b7f92f0
...
...
@@ -31,15 +31,15 @@
</
Proxy
>
# Proxy for _aliases and .*/_search
<
LocationMatch
"^
(/_aliases|.*/_search
|.*/_mapping)$"
>
ProxyPassMatch
http
://
127
.
0
.
0
.
1
:
9200
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
<
LocationMatch
"^
/(_nodes|_aliases|_search|.*/_search|_mapping
|.*/_mapping)$"
>
ProxyPassMatch
http
://
127
.
0
.
0
.
1
:
9200
/$
1
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
/$
1
</
LocationMatch
>
# Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected)
<
LocationMatch
"^
(/kibana-int/dashboard/|/kibana-int/temp).*
$"
>
ProxyPassMatch
http
://
127
.
0
.
0
.
1
:
9200
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
<
LocationMatch
"^
/(kibana-int/dashboard/|kibana-int/temp)(.*)
$"
>
ProxyPassMatch
http
://
127
.
0
.
0
.
1
:
9200
/$
1
$
2
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
/$
1
$
2
</
LocationMatch
>
# Optional disable auth for a src IP (eg: your monitoring host or subnet)
...
...
sample/nginx.conf
View file @
2b7f92f0
...
...
@@ -25,6 +25,10 @@ server {
proxy_pass
http://127.0.0.1:9200
;
proxy_read_timeout
90
;
}
location
~
^/_nodes$
{
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
;
...
...
@@ -53,4 +57,4 @@ server {
auth_basic_user_file
/etc/nginx/conf.d/kibana.myhost.org.htpasswd
;
}
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment