%PDF- %PDF-
| Direktori : /etc/apache2/sites-enabled/ |
| Current File : //etc/apache2/sites-enabled/api.cpa.pamafa.com.br.conf |
<VirtualHost *:80>
ServerName api.cpa.pamafa.com.br
ProxyPreserveHost On
ProxyPass / http://10.11.7.204:5001/
ProxyPassReverse / http://10.11.7.204:5001/
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =api.cpa.pamafa.com.br
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>