%PDF- %PDF-
| Direktori : /etc/apache2/sites-enabled/ |
| Current File : //etc/apache2/sites-enabled/pamafa.com.br-le-ssl.conf |
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName pamafa.com.br
ProxyPreserveHost On
ProxyPass / http://10.11.7.204:3017/
ProxyPassReverse / http://10.11.7.204:3017/
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.
# RewriteCond %{SERVER_NAME} =pamafa.com.br
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
SSLCertificateFile /etc/letsencrypt/live/pamafa.com.br/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pamafa.com.br/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>