Skip to content

ns-cdn-lab

Local CDN lab — Nginx reverse proxy + proxy_cache + TLS 1.3 + origin cloaking.

Learn edge delivery (HIT/MISS, HTTPS, basic WAF-lite) without Cloudflare / CloudFront.

License CI

Lab only — not a production CDN. Details in docs/guide.md.

Quick start

git clone https://github.com/neeraj542/edgeforge-lab-networking.git
cd edgeforge-lab-networking
make up
make test

Expected: 10 passed / 0 failed.

curl -Ik --resolve ns-cdn-lab.local:443:127.0.0.1 https://ns-cdn-lab.local/

How it works

Client → Nginx edge-proxy → hidden Flask origin

Service Role
edge-proxy Nginx — TLS, cache, security
origin-server Flask origin (no host ports)

Docs

Make targets

Command What it does
make up / make test / make down Start, verify, stop
make logs / make reload / make clean Debug / reload / wipe cache
make example-static / example-api / example-byo Recipe origins

License

Apache 2.0 — LICENSE · NOTICE · CONTRIBUTING.md · SECURITY.md

About

Local CDN lab: Nginx reverse proxy, proxy_cache HIT/MISS, TLS 1.3, origin cloaking, edge security

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages