From b87c4e036c10897e4ab4497e9c357faecfdc794d Mon Sep 17 00:00:00 2001 From: cubiclabs Date: Thu, 18 Apr 2024 21:11:08 +0100 Subject: [PATCH] Exclude query string from path_info path_info should not include the query string --- etc/nginx/lucee-proxy.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/lucee-proxy.conf b/etc/nginx/lucee-proxy.conf index 14c5135..045688f 100644 --- a/etc/nginx/lucee-proxy.conf +++ b/etc/nginx/lucee-proxy.conf @@ -19,7 +19,7 @@ proxy_set_header X-Webserver-Context $lucee_context; # Enable path_info - http://www.lucee.nl/post.cfm/enable-path-info-on-nginx-with-lucee-and-railo set $pathinfo ""; # if the extension .cfm or .cfc is found, followed by a slash and optional extra -if ($uri ~ "^(.+?\.cf[mc])(/.*)") { +if ($uri ~ "^(.+?\.cf[mc])(/.*)(\?.*)") { # remember the filepath without path_info set $script $1; set $pathinfo $2;