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
2dcf8417
3f21fe1c
+3
-3
1 changed file
expand all
collapse all
unified
split
README.md
+3
-3
README.md
···
27
* **Config Preview**: Uses batcat (with syntax highlighting) if installed, otherwise falls back to cat.
28
```bash
29
$ sudo nx print knot.example.com
30
-
───────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
31
│ File: /etc/nginx/sites-available/knot.example.com.conf
32
-
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
33
1 │ server {
34
2 │ listen 443 ssl;
35
3 │ listen [::]:443 ssl;
···
53
21 │ proxy_set_header X-Forwarded-Proto $scheme;
54
22 │ }
55
23 │ }
56
-
───────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
57
```
58
59
## Installation
···
27
* **Config Preview**: Uses batcat (with syntax highlighting) if installed, otherwise falls back to cat.
28
```bash
29
$ sudo nx print knot.example.com
30
+
───────┬───────────────────────────────────────────────────────────────────────────────────────────────
31
│ File: /etc/nginx/sites-available/knot.example.com.conf
32
+
───────┼───────────────────────────────────────────────────────────────────────────────────────────────
33
1 │ server {
34
2 │ listen 443 ssl;
35
3 │ listen [::]:443 ssl;
···
53
21 │ proxy_set_header X-Forwarded-Proto $scheme;
54
22 │ }
55
23 │ }
56
+
───────┴───────────────────────────────────────────────────────────────────────────────────────────────
57
```
58
59
## Installation