ngx-fancyindex icon indicating copy to clipboard operation
ngx-fancyindex copied to clipboard

nginx server-side scripting doesn't work as intended with subrequest

Open ahmubashshir opened this issue 3 years ago • 0 comments

GET /requested/path/ with nginx server-side scripting

<title>Files <!--# echo var="document_uri" default="" --></title>

would generate.

<title>Files /requested/path/</title>

but it generates

<title>Files /static/header.html</title>

after configuring fancyindex header with subrequest. it'd be great if we could access original request properties as something like $fancyindex_var_<orig-var> or $http_x_fancyindex_<var>

ahmubashshir avatar Jul 02 '21 09:07 ahmubashshir