Current File : //etc/apache2/sites-available/maausk.tech.conf
<VirtualHost *:80>
    ServerName maausk.tech
    ServerAlias www.maausk.tech

    # Carpeta donde vive tu app
    DocumentRoot /var/www/maausk-app/public

    # Prioriza login.php como “index”
    DirectoryIndex login.php index.php index.html

    <Directory /var/www/maausk-app/public>
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    # Redirige todo a HTTPS
    RewriteEngine on
    RewriteCond %{SERVER_NAME} =maausk.tech
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

    ErrorLog ${APACHE_LOG_DIR}/maausk-error.log
    CustomLog ${APACHE_LOG_DIR}/maausk-access.log combined
</VirtualHost>