Add suffix example to docs (#2049)

This commit is contained in:
Chris O'Haver
2018-08-23 15:27:09 -04:00
committed by GitHub
parent ed85986e70
commit 610bdc091d

View File

@@ -221,6 +221,12 @@ Examples:
rewrite edns0 local set 0xffee {client_ip}
~~~
The following example rewrites the `schmoogle.com` suffix to `google.com`.
~~~
rewrite name suffix .schmoogle.com. .google.com.
~~~
The following example uses metadata and an imaginary "some-plugin" that would provide "some-label" as metadata information.
~~~