# PHP upload limits for large thesis files (PDFs, video, audio)
# TFE files are uploaded incrementally via HTMX (one at a time).
# PeerTube/direct video/audio uploads + couverture + note_intention
# are submitted in the final form POST — post_max_size must accommodate
# the largest combination.
<IfModule mod_php.c>
    php_value upload_max_filesize 512M
    php_value post_max_size       1024M
    php_value memory_limit        512M
    php_value max_execution_time  600
</IfModule>
# mod_php8 variant
<IfModule mod_php8.c>
    php_value upload_max_filesize 512M
    php_value post_max_size       1024M
    php_value memory_limit        512M
    php_value max_execution_time  600
</IfModule>

# Prevent directory listing
Options -Indexes
