diff --git a/docs/content/deploying/nginx.md b/docs/content/deploying/nginx.md index b7ec89c..ef594e0 100644 --- a/docs/content/deploying/nginx.md +++ b/docs/content/deploying/nginx.md @@ -39,7 +39,7 @@ Within the `server` block, we'll rewrite the URL if find a match on `$badagent`, server { server_name blog.example.com; if ($badagent) { - rewrite ^ /ai; + rewrite ^ /ai$request_uri; } location /ai { proxy_set_header Host $host;