%PDF- %PDF-
Direktori : /etc/apache2/sites-enabled/ |
Current File : //etc/apache2/sites-enabled/nossaradio.com.br.conf |
<VirtualHost *:80> 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 Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> # Redirect permanent / https://nossaradio.com.br/ #RewriteEngine on #RewriteCond %{SERVER_NAME} =www.nossaradio.com.br [OR] #RewriteCond %{SERVER_NAME} =nossaradio.com.br #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] RewriteEngine on RewriteCond %{SERVER_NAME} =www.nossaradio.com.br [OR] RewriteCond %{SERVER_NAME} =nossaradio.com.br RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost> #<VirtualHost *:443> # ServerName nossaradio.com.br # ServerAlias www.nossaradio.com.br # ServerAdmin webmaster@ongrace.com # DocumentRoot /var/www/projetos/nossaradio.com.br # <Directory /var/www/projetos/nossaradio.com.br> # Options Indexes FollowSymLinks MultiViews # AllowOverride All # Order allow,deny # allow from all # </Directory> # ErrorLog ${APACHE_LOG_DIR}/error-nossaradio.log # CustomLog ${APACHE_LOG_DIR}/access-nossaradio.log combined # SSLEngine on #SSLCACertificateFile /etc/apache2/certificate/nossaradio/root_ca33174.crt # 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 #SSLCertificateFile /etc/letsencrypt/live/nossaradio.com.br/fullchain.pem #SSLCertificateKeyFile /etc/letsencrypt/live/nossaradio.com.br/privkey.pem #Include /etc/letsencrypt/options-ssl-apache.conf #</VirtualHost>