From 3ba1235369e56d5e134f7f0c5e20fd6a4e0967e2 Mon Sep 17 00:00:00 2001 From: Danila Vershinin Date: Sun, 27 Jan 2019 18:07:53 +0300 Subject: [PATCH] Update README.md with example --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5cd65ec..8e42a8d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,19 @@ This NGINX module allows to empower your dynamic content with automatic [`ETag`] header. It allows client browser to issue conditional `GET` requests to dynamic pages. And thus saves bandwidth and ensures better performance! +## Synopsis + +``` +http { + server { + location ~ \.php$ { + dynamic_etag on; + fastcgi_pass ...; + } + } +} +``` + ## Configuration directives ### `dynamic_etag`