From f7c965d5452d4a4840f9434aa2a7d83446f32eeb Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 3 Jan 2019 15:31:41 +0100 Subject: [PATCH] Fix a typo --- .../templates/generic-smartgears-virtualhost.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 index 3420adbc..82b361f8 100644 --- a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 +++ b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 @@ -1,5 +1,12 @@ server { listen {{ http_port }}; + location ~ /\.(?!well-known).* { + deny all; + access_log off; + log_not_found off; + return 404; + } + client_max_body_size {{ nginx_client_max_body_size | default('100M') }}; {% if egi_image is defined and egi_image %} # No servername into the EGI images