mirror of https://github.com/flarum/flarum
Add .git and auth.json to nginx sensitive resources
parent
a15b8e736b
commit
533a87d1ef
|
@ -5,7 +5,7 @@ location / {
|
|||
|
||||
# Uncomment the following lines if you are not using a `public` directory
|
||||
# to prevent sensitive resources from being exposed.
|
||||
# location ~* ^/(composer\.(json|lock)|config\.php|flarum|storage|vendor) {
|
||||
# location ~* ^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor) {
|
||||
# deny all;
|
||||
# return 404;
|
||||
# }
|
||||
|
|
Loading…
Reference in New Issue