Skip to content

Commit db200d9

Browse files
committed
fix linters
1 parent 4bd68a2 commit db200d9

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Nginx Reverse‑Proxy Stack (MediaWiki + Certbot + imgproxy + GoAccess)
22

3-
A production‑ready Docker Compose stack that fronts your web apps (e.g., MediaWiki) with **Nginx**, handles **TLS automation with Certbot**, serves **next‑gen images via imgproxy** (AVIF/WebP negotiation with caching & failover), and provides **real‑time traffic analytics with GoAccess** (WebSocket proxied, behind Basic Auth). It also includes sane **log rotation** and **proxy cache** settings.
3+
A production‑ready Docker Compose stack that fronts your web apps (e.g., MediaWiki)
4+
with **Nginx**, handles **TLS automation with Certbot**, serves **next‑gen images via imgproxy**
5+
(AVIF/WebP negotiation with caching & failover), and provides **real‑time traffic analytics with GoAccess**
6+
(WebSocket proxied, behind Basic Auth). It also includes sane **log rotation** and **proxy cache** settings.
47

5-
> The stack is designed to run on a single host with Docker, expose multiple virtual hosts, and keep configuration tidy via reusable “includes”.
8+
> The stack is designed to run on a single host with Docker, expose multiple virtual hosts,
9+
> and keep configuration tidy via reusable “includes”.
610
711
---
812

@@ -327,7 +331,8 @@ docker run --rm \
327331

328332
## Issue new SSL certificate
329333

330-
if you like to issue a new certificate you need to setup DNS first. So the Domainname is pointing to the nginx servers IPv4 or IPv6 address. Then edit or create the `domains.list`:
334+
if you like to issue a new certificate you need to setup DNS first. So the Domainname is pointing to the nginx servers
335+
IPv4 or IPv6 address. Then edit or create the `domains.list`:
331336

332337
- File with domain lists (one list per line, separate domains with spaces)
333338
- domains.list is used as the default, or the first parameter.
@@ -363,7 +368,8 @@ docker compose exec certbot certbot renew --cert-name lhlab.wiki --dry-run --for
363368

364369
## NGINX + IMGProxy Cache Test Suite `nginx_imgproxy_testing.sh`
365370

366-
A compact Bash script to verify end‑to‑end image delivery and HTML/CDN caching for the NGINX / MediaWiki stack (NGINX reverse proxy + IMGProxy + MediaWiki). It prints focused headers and clear **OK/WARN/FAIL** results for each step.
371+
A compact Bash script to verify end‑to‑end image delivery and HTML/CDN caching for the NGINX / MediaWiki stack
372+
(NGINX reverse proxy + IMGProxy + MediaWiki). It prints focused headers and clear **OK/WARN/FAIL** results for each step.
367373

368374
- Image cache warmup (**MISS → HIT**) with `X-Cache` validation
369375
- Content negotiation via `Accept:` (**AVIF**, **WebP**, PNG fallback)
@@ -390,4 +396,5 @@ chmod +x ./nginx_imgproxy_testing.sh
390396
./nginx_imgproxy_testing.sh
391397
```
392398

393-
The script prints the relevant response headers and summarizes results at the end. A non‑zero exit code indicates at least one **FAIL**.
399+
The script prints the relevant response headers and summarizes results at the end.
400+
A non‑zero exit code indicates at least one **FAIL**.

0 commit comments

Comments
 (0)