Skip to content

Commit 0d25aff

Browse files
committed
Add editorconfig
1 parent f33c647 commit 0d25aff

File tree

2 files changed

+45
-34
lines changed

2 files changed

+45
-34
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
indent_style = space
8+
indent_size = 2
9+
10+
[configuration/**.py]
11+
indent_size = 4

docker/nginx-unit.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
{
2-
"listeners": {
3-
"*:8080": {
4-
"pass": "routes"
5-
}
6-
},
2+
"listeners": {
3+
"*:8080": {
4+
"pass": "routes"
5+
}
6+
},
77

8-
"routes": [
9-
{
10-
"match": {
11-
"uri": "/static/*"
12-
},
13-
"action": {
14-
"share": "/opt/netbox/netbox"
15-
}
16-
},
8+
"routes": [
9+
{
10+
"match": {
11+
"uri": "/static/*"
12+
},
13+
"action": {
14+
"share": "/opt/netbox/netbox"
15+
}
16+
},
1717

18-
{
19-
"action": {
20-
"pass": "applications/netbox"
21-
}
22-
}
23-
],
18+
{
19+
"action": {
20+
"pass": "applications/netbox"
21+
}
22+
}
23+
],
2424

25-
"applications": {
26-
"netbox": {
27-
"type": "python 3",
28-
"path": "/opt/netbox/netbox/",
29-
"module": "netbox.wsgi",
30-
"home": "/opt/netbox/venv",
31-
"processes": {
32-
"max": 4,
33-
"spare": 1,
34-
"idle_timeout": 120
35-
}
36-
}
37-
},
25+
"applications": {
26+
"netbox": {
27+
"type": "python 3",
28+
"path": "/opt/netbox/netbox/",
29+
"module": "netbox.wsgi",
30+
"home": "/opt/netbox/venv",
31+
"processes": {
32+
"max": 4,
33+
"spare": 1,
34+
"idle_timeout": 120
35+
}
36+
}
37+
},
3838

39-
"access_log": "/dev/stdout"
39+
"access_log": "/dev/stdout"
4040
}

0 commit comments

Comments
 (0)