/
etc
/
apache2
/
sites-enabled
/
Upload File
HOME
<VirtualHost *:80> ServerName bigcommerce.dev-techloyce.com DocumentRoot /var/www/html/bigcommerce <Directory /var/www/html/bigcommerce> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> <FilesMatch \.php$> # Proxy PHP requests to PHP-FPM via Unix socket SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/" </FilesMatch> ErrorLog ${APACHE_LOG_DIR}/bigcommerce_error.log CustomLog ${APACHE_LOG_DIR}/bigcommerce_access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =bigcommerce.dev-techloyce.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>