%PDF- %PDF-
| Direktori : /etc/apache2/sites-available/ |
| Current File : //etc/apache2/sites-available/ongrace.com-le-ssl.conf |
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName ongrace.com
DocumentRoot /var/www/projetos/ongrace.com
<Directory /var/www/projetos/ongrace.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Directory /var/www/projetos/ongrace.com/wp-content/uploads>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 10.11.0.0/21 200.142.113.198/32 189.22.141.180/32
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.ongrace.com-le-ssl.log
CustomLog ${APACHE_LOG_DIR}/access.ongrace.com-le-ssl.log combined
SSLCertificateFile /etc/letsencrypt/live/ongrace.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ongrace.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>