HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ubuntu-8gb-hel1-1 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //etc/apache2/sites-available/newagi.agighana.org.conf
<VirtualHost *:80>
    ServerAdmin webmaster@agighana.org
    ServerName newagi.agighana.org
    DocumentRoot /var/www/html/agi/public_html/newagi.agighana.org

    <Directory /var/www/html/agi/public_html/newagi.agighana.org>
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/newagi_error.log
    CustomLog ${APACHE_LOG_DIR}/newagi_access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =newagi.agighana.org
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:443>
    ServerAdmin webmaster@agighana.org
    ServerName newagi.agighana.org
    DocumentRoot /var/www/html/agi/public_html/newagi.agighana.org

    <Directory /var/www/html/agi/public_html/newagi.agighana.org>
        AllowOverride All
        Require all granted
    </Directory>


    ErrorLog ${APACHE_LOG_DIR}/newagi_ssl_error.log
    CustomLog ${APACHE_LOG_DIR}/newagi_ssl_access.log combined
SSLCertificateFile /etc/letsencrypt/live/newagi.agighana.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/newagi.agighana.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>