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