<VirtualHost *:80>
    ServerName reod-dragon.ddns.net
    SetEnv APP_ENVIRONMENT "reod"
    SetEnv DOCKER_CONTAINER "1"

    # Content Security Policy para permitir jsdelivr CDN
    Header set Content-Security-Policy "default-src 'self'; script-src 'self' https://cdn.jsdelivr.net https://code.jquery.com 'unsafe-inline'; style-src 'self' https://cdn.jsdelivr.net 'unsafe-inline'; connect-src 'self' https://cdn.jsdelivr.net; img-src 'self' data: https:; font-src 'self' https://cdn.jsdelivr.net data:;"

    ErrorLog /var/www/html/bot/logs/reod_error.log
    CustomLog /var/www/html/bot/logs/reod_access.log combined

    DocumentRoot /var/www/html/bot/
    <Directory /var/www/html/bot/>
        Options -Indexes +FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    php_admin_value upload_max_filesize 20M
    php_admin_value post_max_size 20M
</VirtualHost>
