tangled
alpha
login
or
join now
sullen.net
/
nx
0
fork
atom
A simple utility to manage Nginx configurations.
0
fork
atom
overview
issues
pulls
pipelines
Update README
sullen.net
1 month ago
d0be0a54
8fb1717a
+3
-3
1 changed file
expand all
collapse all
unified
split
README.md
+3
-3
README.md
···
27
27
* **Config Preview**: Uses batcat (with syntax highlighting) if installed, otherwise falls back to cat.
28
28
```bash
29
29
$ sudo nx print knot.example.com
30
30
-
───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────
30
30
+
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
31
31
│ File: /etc/nginx/sites-available/knot.example.com.conf
32
32
-
───────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────
32
32
+
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
33
33
1 │ server {
34
34
2 │ listen 443 ssl;
35
35
3 │ listen [::]:443 ssl;
···
53
53
21 │ proxy_set_header X-Forwarded-Proto $scheme;
54
54
22 │ }
55
55
23 │ }
56
56
-
───────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────
56
56
+
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
57
57
```
58
58
59
59
## Installation