Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current none :
/
etc
/
apache2
/
sites-enabled
/
Or
Select Your none :
Upload File :
New :
File
Dir
//etc/apache2/sites-enabled/karpenter.co.id.conf
<VirtualHost *:80> ServerAdmin admin@karpenter.belum.live ServerName karpenter.belum.live ServerAlias www.karpenter.belum.live DocumentRoot /var/www/html/tpid-karpenter/web/public <Directory /var/www/html/tpid-karpenter/web/public> AllowOverride All Require all granted </Directory> <FilesMatch ".+\.php$"> SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost" </FilesMatch> ErrorLog ${APACHE_LOG_DIR}/karpenter_web_error.log CustomLog ${APACHE_LOG_DIR}/karpenter_web_access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =www.karpenter.belum.live [OR] RewriteCond %{SERVER_NAME} =karpenter.belum.live RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>