# 上传目录保护
Options -Indexes
<FilesMatch "\.(php|php3|phtml|phar|py|jsp|asp|aspx|sh|exe)$">
  Require all denied
</FilesMatch>

# 允许访问图片/视频
<FilesMatch "\.(jpg|jpeg|png|gif|webp|bmp|svg|mp4|webm|ogg|mov)$">
  Require all granted
</FilesMatch>
