File tree 10 files changed +71
-3
lines changed
so-manager/so-manager-proxy
10 files changed +71
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ services:
7
7
depends_on :
8
8
- netdata-netdata
9
9
netdata-netdata :
10
- image : netdata/netdata
11
- hostname : sopoc.duckdns.org
10
+ build : netdata/netdata
11
+ hostname : netdata- sopoc.duckdns.org
12
12
cap_add :
13
13
- SYS_PTRACE
14
14
security_opt :
Original file line number Diff line number Diff line change @@ -2,8 +2,13 @@ server {
2
2
listen 80;
3
3
server_name netdata-proxy;
4
4
5
- # Netdata
6
5
location / {
7
6
proxy_pass http://netdata-netdata:19999;
8
7
}
8
+
9
+ # Nginx status page
10
+ location /stub_status {
11
+ stub_status;
12
+ access_log off;
13
+ }
9
14
}
Original file line number Diff line number Diff line change
1
+ FROM netdata/netdata
2
+ COPY conf/ /etc/netdata/
Original file line number Diff line number Diff line change
1
+ # Enable/disable the whole go.d.plugin.
2
+ enabled: yes
3
+
4
+ # Enable/disable default value for all modules.
5
+ default_run: yes
6
+
7
+ # Maximum number of used CPUs. Zero means no limit.
8
+ max_procs: 0
9
+
10
+ # Enable/disable specific g.d.plugin module
11
+ modules:
12
+ nginx: yes
Original file line number Diff line number Diff line change
1
+ jobs:
2
+ - name: netdata-proxy
3
+ url : http://netdata-proxy/stub_status
4
+
5
+ - name: so-manager-proxy
6
+ url : http://so-manager-proxy/stub_status
7
+
8
+ - name: so-vm-proxy
9
+ url : http://so-vm-proxy/stub_status
10
+
11
+ - name: thehive-proxy-thehive
12
+ url : http://thehive-proxy-thehive/stub_status
13
+
14
+ - name: thehive-proxy-cortex
15
+ url : http://thehive-proxy-cortex/stub_status
16
+
17
+ - name: ntop-proxy
18
+ url : http://ntop-proxy/stub_status
Original file line number Diff line number Diff line change 1
1
server {
2
2
listen 80;
3
3
server_name ntop-proxy;
4
+
4
5
location / {
5
6
proxy_pass http://${DOCKER_GATEWAY}:5000;
6
7
}
8
+
9
+ # Nginx status page
10
+ location /stub_status {
11
+ stub_status;
12
+ access_log off;
13
+ }
7
14
}
Original file line number Diff line number Diff line change @@ -26,4 +26,10 @@ server {
26
26
proxy_redirect off;
27
27
proxy_pass http://so-manager-gotty-so/;
28
28
}
29
+
30
+ # Nginx status page
31
+ location /stub_status {
32
+ stub_status;
33
+ access_log off;
34
+ }
29
35
}
Original file line number Diff line number Diff line change @@ -5,4 +5,10 @@ server {
5
5
location / {
6
6
proxy_pass https://192.168.101.2;
7
7
}
8
+
9
+ # Nginx status page
10
+ location /stub_status {
11
+ stub_status;
12
+ access_log off;
13
+ }
8
14
}
Original file line number Diff line number Diff line change @@ -15,4 +15,10 @@ server {
15
15
proxy_http_version 1.1;
16
16
proxy_pass http://thehive-cortex:9001/;
17
17
}
18
+
19
+ # Nginx status page
20
+ location /stub_status {
21
+ stub_status;
22
+ access_log off;
23
+ }
18
24
}
Original file line number Diff line number Diff line change @@ -15,4 +15,10 @@ server {
15
15
proxy_http_version 1.1;
16
16
proxy_pass http://thehive-thehive:9000/;
17
17
}
18
+
19
+ # Nginx status page
20
+ location /stub_status {
21
+ stub_status;
22
+ access_log off;
23
+ }
18
24
}
You can’t perform that action at this time.
0 commit comments