Skip to content

Commit 1b4c306

Browse files
zc-devsdekobon
authored andcommitted
Fixed directory listing prefixing
1 parent 309053c commit 1b4c306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/etc/nginx/templates/default.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ server {
239239
# Apply XSL transformation to the XML returned from S3 directory listing
240240
# results such that we can output an HTML directory contents list.
241241
xslt_stylesheet /etc/nginx/include/listing.xsl;
242+
xslt_string_param rootPath '${DIRECTORY_LISTING_PATH_PREFIX}';
242243
xslt_types application/xml;
243244

244245
# We apply an output filter to the XML input received from S3 before it

0 commit comments

Comments
 (0)