/
etc
/
apache2
/
sites-enabled
/
Upload File
HOME
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName sugar25.dev-techloyce.com ServerAlias sugar25.dev-techloyce.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html/sugar25 ErrorLog ${APACHE_LOG_DIR}/sugar25_error.log CustomLog ${APACHE_LOG_DIR}/sugar25_access.log combined <Directory /var/www/html/sugar25> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> <FilesMatch \.php$> SetHandler "proxy:unix:/var/run/php/php8.3-fpm.sock|fcgi://localhost/" </FilesMatch> # Security settings to restrict .htaccess usage <Directory /var/www/html/sugar25/cache> AllowOverride None </Directory> <Directory /var/www/html/sugar25/upload> AllowOverride None </Directory> <Directory /var/www/html/sugar25/custom> AllowOverride None </Directory> <Directory /var/www/html/sugar25/data> AllowOverride None </Directory> Timeout 300 # SSLCertificateFile /etc/letsencrypt/live/sugar25.dev-techloyce.com/fullchain.pem # SSLCertificateKeyFile /etc/letsencrypt/live/sugar25.dev-techloyce.com/privkey.pem # Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/sugar25.dev-techloyce.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/sugar25.dev-techloyce.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </IfModule>