mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
kibana
This commit is contained in:
parent
5ff3382469
commit
8692ff515b
|
|
@ -82,9 +82,7 @@
|
||||||
interfaces.wlp1s0.proxyARP = true;
|
interfaces.wlp1s0.proxyARP = true;
|
||||||
iproute2.enable = true;
|
iproute2.enable = true;
|
||||||
hosts = {
|
hosts = {
|
||||||
"100.92.15.128:2000" = [ "grafanafirst.local" ];
|
"100.92.15.128" = [ "graf1.local" "graf2.local" "kibana.local" ];
|
||||||
"100.92.15.128:2001" = [ "grafanasecond.local" ];
|
|
||||||
"100.92.15.128:2002" = [ "kibana.local" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@
|
||||||
services.nginx.virtualHosts."grafana_first" = {
|
services.nginx.virtualHosts."grafana_first" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
listen = [{port = 2000; addr="0.0.0.0"; ssl=false;}];
|
listen = [{port = 2000; addr="0.0.0.0"; ssl=false;}];
|
||||||
|
serverName = "graf1.local";
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
@ -88,6 +89,7 @@
|
||||||
services.nginx.virtualHosts."grafana_second" = {
|
services.nginx.virtualHosts."grafana_second" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
listen = [{port = 2001; addr="0.0.0.0"; ssl=false;}];
|
listen = [{port = 2001; addr="0.0.0.0"; ssl=false;}];
|
||||||
|
serverName = "graf2.local";
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
@ -103,6 +105,7 @@
|
||||||
services.nginx.virtualHosts."kibana" = {
|
services.nginx.virtualHosts."kibana" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
listen = [{port = 2002; addr="0.0.0.0"; ssl=false;}];
|
listen = [{port = 2002; addr="0.0.0.0"; ssl=false;}];
|
||||||
|
serverName = "kibana.local";
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue