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/cosmetics.agighana.org.conf
<VirtualHost *:80>
    ServerAdmin webmaster@agighana.org
    ServerName cosmetics.agighana.org
    DocumentRoot /var/www/html/cosmetics

    <Directory /var/www/html/cosmetics>
	Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

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

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

    <Directory /var/www/html/cosmetics>
      Options Indexes FollowSymLinks    
    AllowOverride All
        Require all granted
    </Directory>


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