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/tpid-tester-le-ssl.conf
<IfModule mod_ssl.c> <VirtualHost *:443> DocumentRoot "/var/www/html/tpid-tester/s.api.test.technopartner.id/public" ServerName s.api.test.technopartner.id <Directory "/var/www/html/tpid-tester/s.api.test.technopartner.id/public"> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> <FilesMatch ".+\.php$"> SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost" </FilesMatch> RewriteEngine on # Some rewrite rules in this file were disabled on your HTTPS site, # because they have the potential to create redirection loops. # RewriteCond %{SERVER_NAME} =s.api.test.technopartner.id # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] SSLCertificateFile /etc/letsencrypt/live/s.api.test.technopartner.id-0001/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/s.api.test.technopartner.id-0001/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </IfModule>