Skip to content

Commit b5c6f79

Browse files
committed
fix nginx
1 parent 825432f commit b5c6f79

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nginx-unit.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"listeners": {
3-
"*:8080": {
3+
"0.0.0.0:8080": {
4+
"pass": "routes"
5+
},
6+
"[::]:8080": {
47
"pass": "routes"
58
}
69
},
@@ -11,7 +14,7 @@
1114
"uri": "/static/*"
1215
},
1316
"action": {
14-
"share": "/opt/netbox/netbox"
17+
"share": "/opt/netbox/netbox${uri}"
1518
}
1619
},
1720

0 commit comments

Comments
 (0)