summaryrefslogtreecommitdiff
path: root/caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt')
-rw-r--r--caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt b/caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt
index bb7c7f7..2fa2b79 100644
--- a/caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt
+++ b/caddytest/integration/caddyfile_adapt/php_fastcgi_expanded_form.txt
@@ -8,7 +8,7 @@ route {
}
not path */
}
- redir @canonicalPath {path}/ 308
+ redir @canonicalPath {http.request.orig_uri.path}/ 308
# If the requested file does not exist, try index files
@indexFiles {
@@ -50,7 +50,7 @@ route {
"handler": "static_response",
"headers": {
"Location": [
- "{http.request.uri.path}/"
+ "{http.request.orig_uri.path}/"
]
},
"status_code": 308