It works.
nginx is serving this page from site/index.html on port 8080.
Try it
- Edit this file and refresh — no restart needed, nginx reads from disk each request.
- Visit /nope to see the custom 404 page.
- Watch
logs/access.logto see requests as they arrive.
Reload after config changes
Editing nginx.conf does require a reload:
nginx -p . -c nginx.conf -s reload