Add ending slashes to location directive Fixes b/296866680, a potential security risk. Change-Id: I62866ba0ad55a4d88fbb0df6e97a2a961b4b1cb4
diff --git a/k8s/nginx-apt.yaml b/k8s/nginx-apt.yaml index b6b6ffe..5fcb659 100644 --- a/k8s/nginx-apt.yaml +++ b/k8s/nginx-apt.yaml
@@ -9,12 +9,12 @@ listen 80; server_name mendel-linux.org; - location /apt { + location /apt/ { autoindex on; alias /usr/share/nginx/html/publishes; } - location /images { + location /images/ { autoindex on; alias /usr/share/nginx/html/images; }