From 9d15e3ea69b76c1e8608cda6051767fbfddab6ac Mon Sep 17 00:00:00 2001 From: Jani Patokallio Date: Thu, 22 Aug 2024 12:18:13 +0000 Subject: [PATCH] Block public access to tmpfiles --- nginx/openflights | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx/openflights b/nginx/openflights index 5121f5a1..e9185c7f 100644 --- a/nginx/openflights +++ b/nginx/openflights @@ -34,6 +34,10 @@ server { deny all; } + location ~ /import/ { + deny all; + } + listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/nginx.openflights.org/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/nginx.openflights.org/privkey.pem; # managed by Certbot