From f48fc257e3425ae95dfc081824995cbc61da5a95 Mon Sep 17 00:00:00 2001 From: Bigsk Date: Wed, 12 Feb 2020 13:33:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0Nginx=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx/Nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nginx/Nginx.conf diff --git a/nginx/Nginx.conf b/nginx/Nginx.conf new file mode 100644 index 0000000..83a1a5e --- /dev/null +++ b/nginx/Nginx.conf @@ -0,0 +1,8 @@ + location ~ ^(.*)/$ { + autoindex on; + autoindex_localtime on; + autoindex_exact_size off; + + add_before_body /.autoindex/header.html; + add_after_body /.autoindex/footer.html; + } \ No newline at end of file