Skip to content

Commit

Permalink
Edit deny conf to not block .well-known
Browse files Browse the repository at this point in the history
Fedi instances crawl .well-known for federation to work
  • Loading branch information
jwbjnwolf committed May 26, 2023
1 parent b083e4a commit bbc4b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deny.d/deny.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@

##
# Deny all attempts to access hidden files such as
# .htaccess, .htpasswd, .DS_Store (Mac).
# .htaccess, .htpasswd, .DS_Store (Mac), but exclude .well-known
##

location ~ /\. {
location ~ /\.(?!well-known).* {
return 444;
}

Expand Down

0 comments on commit bbc4b2f

Please sign in to comment.