Skip to content
Snippets Groups Projects

disallow access to dotfiles besides .well-known by default

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -89,7 +89,7 @@ server {
{% if vhost.disallow_dotfiles %}
# disallow every path starting with a dot except .well-known/
location ~ ^/\.(?!well-known\/).* {
location ~ /\.(?!well-known\/).* {
deny all;
}
{% endif %}
Loading