Options -Indexes

# Uppladdningsgränser, tillagt 2026-08-20.
# Containern php:8.3-apache körs utan php.ini och hamnar därför på
# standardvärdena upload_max_filesize=2M och post_max_size=8M, vilket
# avvisade filer på ~136 MB. mod_php är aktivt, så php_value fungerar här.
# Ligger medvetet i webbroten och inte i containerns conf.d, eftersom
# /usr/local/etc/php/conf.d inte är monterad och skulle nollställas när
# TrueNAS återskapar containern.
<IfModule php_module>
  php_value upload_max_filesize 2G
  php_value post_max_size 2G
  php_value max_file_uploads 200
</IfModule>

<FilesMatch "^\.">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
  </IfModule>
</FilesMatch>
