%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //etc/apache2/sites-enabled/api.hr.coding.al-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost 173.212.228.208:443>
    DocumentRoot "/var/www/html/hr/api/public"
        ServerName api.hr.coding.al        
        ServerAlias www.api.hr.coding.al        
        ServerAdmin webmaster@coding.al        
        <Directory /var/www/html/hr/api/public>
                   AllowOverride All
                   allow from all
                   Options +Indexes
        </Directory>
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} =www.api.hr.coding.al [OR]
# RewriteCond %{SERVER_NAME} =api.hr.coding.al
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

SSLCertificateFile /etc/letsencrypt/live/api.hr.coding.al/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/api.hr.coding.al/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

Zerion Mini Shell 1.0