diff --git a/services/nginx/default.nix b/services/nginx/default.nix index ffe9de1..3867d22 100644 --- a/services/nginx/default.nix +++ b/services/nginx/default.nix @@ -123,6 +123,15 @@ in proxyWebsockets = true; }; }; + virtualHosts."netbox.le43.eu" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://192.168.1.45"; + recommendedProxySettings = true; + proxyWebsockets = true; + }; + }; }; }; networking.firewall.allowedTCPPorts = [ 80 443 ];