From 1019b7be50ef93cd005951f003fa76d9da3b33f1 Mon Sep 17 00:00:00 2001 From: Klooven Date: Thu, 7 Jan 2021 16:06:52 +0200 Subject: [PATCH] docs: Escape < and > characters (#125) --- src/docs/markdown/caddyfile/directives/rewrite.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/directives/rewrite.md b/src/docs/markdown/caddyfile/directives/rewrite.md index d113c91..f0949db 100644 --- a/src/docs/markdown/caddyfile/directives/rewrite.md +++ b/src/docs/markdown/caddyfile/directives/rewrite.md @@ -17,7 +17,7 @@ Because `rewrite` essentially performs an internal redirect, the Caddyfile adapt rewrite [] ``` -- **** is the URI to set on the request. Only designated parts will be replaced. The URI path is any substring that comes before `?`. If `?` is omitted, then the whole token is considered to be the path. +- **<to>** is the URI to set on the request. Only designated parts will be replaced. The URI path is any substring that comes before `?`. If `?` is omitted, then the whole token is considered to be the path. ## Examples @@ -52,4 +52,4 @@ rewrite * /index.php?{query}&p={path} There are other directives that perform rewrites, but imply a different intent or do the rewrite without a complete replacement of the URI: - [`uri`](uri) manipulates a URI (strip prefix, suffix, or substring replacement). -- [`try_files`](try_files) rewrites the request based on the existence of files. \ No newline at end of file +- [`try_files`](try_files) rewrites the request based on the existence of files.