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