Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 22, 2020 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/f2dcbbd195d8dddc51998e788d7aff7a to your computer and use it in GitHub Desktop.
Save parzibyte/f2dcbbd195d8dddc51998e788d7aff7a to your computer and use it in GitHub Desktop.
Options -Indexes
# Si quieres, agrega más extensiones entre los paréntesis, separadas por |
<Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$">
Order allow,deny
Deny from all
</Files>
# Aquí especifica nombres de archivos igualmente dentro de los paréntesis, separados por |
<Files ~ "(artisan)$">
Order allow,deny
Deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment