/
etc
/
apache2
/
sites-enabled
/
Upload File
HOME
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName sugar13.dev-techloyce.com ServerAlias sugar13.dev-techloyce.com ServerAdmin webmaster@localhost DocumentRoot /var/www/html/sugar13 ErrorLog ${APACHE_LOG_DIR}/sugar13_error.log CustomLog ${APACHE_LOG_DIR}/sugar13_access.log combined <Directory /var/www/html/sugar13> 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> SSLCertificateFile /etc/letsencrypt/live/sugar13.dev-techloyce.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/sugar13.dev-techloyce.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf # Security settings to restrict .htaccess usage <Directory /var/www/html/sugar13/cache> AllowOverride None </Directory> <Directory /var/www/html/sugar13/upload> AllowOverride None </Directory> <Directory /var/www/html/sugar13/custom> AllowOverride None </Directory> <Directory /var/www/html/sugar13/data> AllowOverride None </Directory> Timeout 300 </VirtualHost> </IfModule>