We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f96a333 commit 73edc79Copy full SHA for 73edc79
1 file changed
salt/metalk8s/repo/files/nginx.conf.j2
@@ -4,7 +4,9 @@ server {
4
5
location / {
6
root /var/www/repositories;
7
- autoindex on;
+ # Security fix: Disable directory listing to prevent exposing repository structure
8
+ # Fixes: MK8S-25, RD-680 - HTTP directory listing of redhat packages
9
+ autoindex off;
10
}
11
12
include conf.d/*.inc;
0 commit comments