do not block the .well-known urls, for real

This commit is contained in:
Andrea Dell'Amico 2020-10-20 14:52:36 +02:00
parent f8cd042975
commit 7e53ab855b
1 changed files with 1 additions and 9 deletions

View File

@ -56,14 +56,6 @@ server {
log_not_found off;
access_log off;
}
{% if nginx_block_dotfiles %}
location ~ /\.(?!well-known).* {
deny all;
access_log off;
log_not_found off;
return 404;
}
{% endif %}
{% if haproxy_ips is defined %}
# We are behind haproxy
{% for ip in haproxy_ips %}
@ -218,7 +210,7 @@ server {
access_log off;
}
{% if nginx_block_dotfiles %}
location ~ /\. {
location ~ /\.(?!well-known).* {
deny all;
access_log off;
log_not_found off;