Skip to content

Commit

Permalink
fix: Fix .htaccess configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fussel178 committed Mar 6, 2022
1 parent 09c663d commit 5f47daa
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Options -Indexes

Order allow,deny
Deny from all
<FilesMatch ^(index\.php)?$>
Allow from all
</FilesMatch>

<FilesMatch "^(browserconfig\.xml|site\.webmanifest|.+\.(css|svg|png|ico)|(index\.php)?|)$">
allow from 127.0.0.1
# Only allow from local IPs:
allow from 10.0.0.0/255.0.0.0
allow from 172.16.0.0/255.240.0.0
allow from 192.168.0.0/255.255.0.0
</FilesMatch>

0 comments on commit 5f47daa

Please sign in to comment.