Add netbox vhost in nginx config

This commit is contained in:
tbarnouin 2024-09-20 10:50:59 +02:00
parent b2e383abdc
commit 35d6c47483

View file

@ -123,6 +123,15 @@ in
proxyWebsockets = true; 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 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];