From b5c6f7934edfbe7c7fd5f21128add49826b74148 Mon Sep 17 00:00:00 2001 From: alsigna Date: Thu, 26 Jan 2023 01:05:26 +0500 Subject: [PATCH] fix nginx --- nginx-unit.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nginx-unit.json b/nginx-unit.json index 8c5498f..40f01e4 100644 --- a/nginx-unit.json +++ b/nginx-unit.json @@ -1,6 +1,9 @@ { "listeners": { - "*:8080": { + "0.0.0.0:8080": { + "pass": "routes" + }, + "[::]:8080": { "pass": "routes" } }, @@ -11,7 +14,7 @@ "uri": "/static/*" }, "action": { - "share": "/opt/netbox/netbox" + "share": "/opt/netbox/netbox${uri}" } },