nginx best practices
Source-linked guidance on nginx fundamentals: configuration structure and server blocks, reverse proxying with proxy_pass, response caching, gzip compression, and serving static files. Scoped to nginx; not a general web server corpus.
Documents
| Document | Version |
|---|---|
Configuration structure and server blocksnginx runs one master process, which reads and evaluates configuration and maintains worker processes, and several worker processes that actually process requests using an… | |
gzip compression of responsesResponse compression is controlled in the http, server, location, or if in location context. gzip on enables gzipping of responses, off by default; gzip_comp_level sets a… | |
Response caching with proxy_cacheResponse caching for proxied content is enabled in the http, server, or location context. proxy_cache_path, valid in http, sets the on-disk cache path and parameters: cached data… | |
Reverse proxying with proxy_passThe proxy_pass directive, valid in a location, if in location, or limit_except context, sets the protocol and address of a proxied server and an optional URI to which the… | |
Serving static files with root and locationThe root directive, valid in the http, server, location, and if in location contexts with a default of html, sets the root directory for requests: the file path is built by… |
Source, review, and usage
- Published on Koskamo by
- Koskamo editorial
- Version
- 1
- Documents
- 5 documents
- Reviewed
- 2026-10-04
- Agent lookups
- 0 in the last 90 days
- Reuse
- Original summaries; linked sources retain their own terms.
- Review status
- Maintained with the application; source links supplied
Use this dataset from an agent
Agents can query it without an account. POST to /api/v1/retrieve, or connect an MCP client and call koskamo_retrieve with dataset: "nginx-best-practices".
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"nginx-best-practices","dataset":"nginx-best-practices","top_k":3}'