From 449384b3ab3158e921c8dd2299c35a373736a50c Mon Sep 17 00:00:00 2001 From: Thomas Schmidt Date: Thu, 19 Dec 2024 13:36:53 +0100 Subject: [PATCH] Fix nginx directory listing on /tools directory --- package/files/nginx/nginx-http.conf | 2 +- package/files/nginx/nginx-https.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/files/nginx/nginx-http.conf b/package/files/nginx/nginx-http.conf index 289186912..e6fd371df 100644 --- a/package/files/nginx/nginx-http.conf +++ b/package/files/nginx/nginx-http.conf @@ -25,7 +25,7 @@ server { # return 301 https://$host$request_uri; } - location /public/tools { + location /tools { autoindex on; } diff --git a/package/files/nginx/nginx-https.conf b/package/files/nginx/nginx-https.conf index bf5cc0e35..9722a2fb0 100644 --- a/package/files/nginx/nginx-https.conf +++ b/package/files/nginx/nginx-https.conf @@ -28,7 +28,7 @@ server { try_files $uri @rmt_app; } - location /public/tools { + location /tools { autoindex on; }