Skip to content

Commit

Permalink
Revert ". files security fix"
Browse files Browse the repository at this point in the history
This reverts commit 1e88625.
  • Loading branch information
0xb4lint committed May 22, 2019
1 parent 1e88625 commit 9a15dcb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions public/templates/conf/nginxconfig.io/general.conf.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@
add_header Strict-Transport-Security "max-age=31536000{{ isHSTSSubdomains() ? '; includeSubDomains' : '' }}{{ isHSTSPreload() ? '; preload' : '' }}" always;</span>

# . files
location ^~ /. {
location ~ /\.(?!well-known) {
deny all;
}

# .well-known
location ^~ /.well-known/ {
allow all;
}

# favicon.ico
location = /favicon.ico {
log_not_found off;<!--
Expand Down

0 comments on commit 9a15dcb

Please sign in to comment.