From a3d3917690f8a7919fe6f4da22e16c69f552d1f4 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Wed, 28 Feb 2024 11:43:26 +0700 Subject: [PATCH] Allow autoindex --- src/executor/nginx.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/executor/nginx.js b/src/executor/nginx.js index 1d83f98..58f9e4b 100644 --- a/src/executor/nginx.js +++ b/src/executor/nginx.js @@ -21,7 +21,8 @@ const passengerKeys = [ 'document_root', 'base_uri', 'app_root', 'sticky_sessions' ]; const locationKeys = [ - "root", "alias", "rewrite", "try_files", "return", "index", "expires", "allow", "deny", + "root", "alias", "rewrite", "try_files", "return", "index", + "expires", "allow", "deny", "autoindex" ]; const sslNames = ["", "off", "always", "on"];