This commit is contained in:
Your Name 2024-03-20 19:08:59 +03:00
parent 748ee1f3cf
commit 5ff3382469
2 changed files with 16 additions and 0 deletions

View file

@ -81,6 +81,12 @@
useDHCP = lib.mkDefault true; useDHCP = lib.mkDefault true;
interfaces.wlp1s0.proxyARP = true; interfaces.wlp1s0.proxyARP = true;
iproute2.enable = true; iproute2.enable = true;
hosts = {
"100.92.15.128:2000" = [ "grafanafirst.local" ];
"100.92.15.128:2001" = [ "grafanasecond.local" ];
"100.92.15.128:2002" = [ "kibana.local" ];
};
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ allowedTCPPorts = [
@ -316,6 +322,7 @@
gnomeExtensions.clipboard-indicator gnomeExtensions.clipboard-indicator
gnomeExtensions.tiling-assistant gnomeExtensions.tiling-assistant
#gnomeExtensions.wintile-windows-10-window-tiling-for-gnome #gnomeExtensions.wintile-windows-10-window-tiling-for-gnome
gnomeExtensions.cloudflare-warp-toggle
gnome.gnome-tweaks gnome.gnome-tweaks
mojave-gtk-theme mojave-gtk-theme

View file

@ -100,6 +100,15 @@
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
''; '';
}; };
services.nginx.virtualHosts."kibana" = {
forceSSL = false;
listen = [{port = 2002; addr="0.0.0.0"; ssl=false;}];
locations."/".extraConfig = ''
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://123.123.123.123:5601;
'';
};
system.stateVersion = "22.11"; system.stateVersion = "22.11";
} }