<VirtualHost *:80>
    ServerName eniac.ventures
    ServerAlias www.eniac.ventures

    DocumentRoot /var/www/html/eniacventures/eniac-ventures/.output/public
    <Directory /var/www/html/eniacventures/eniac-ventures/.output/public>
        Require all granted
        Options -Indexes
        AllowOverride None
    </Directory>
    <Directory /var/www/letsencrypt/.well-known/acme-challenge>
        Require all granted
        Options -Indexes
        AllowOverride None
    </Directory>

    Alias /.well-known/acme-challenge/ /var/www/letsencrypt/.well-known/acme-challenge/
    ProxyPass /.well-known/acme-challenge/ !
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

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