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