19 lines
456 B
Plaintext
19 lines
456 B
Plaintext
<VirtualHost *:443>
|
|
ServerName app.local
|
|
|
|
SSLEngine on
|
|
SSLCertificateFile "/etc/apache2/ssl/cert.pem"
|
|
SSLCertificateKeyFile "/etc/apache2/ssl/key.pem"
|
|
|
|
ProxyPreserveHost On
|
|
|
|
# API Publique
|
|
ProxyPass /api/pub/ http://localhost:5001/
|
|
ProxyPassReverse /api/pub/ http://localhost:5001/
|
|
|
|
# API Utilisateur
|
|
ProxyPass /api/user/ http://localhost:5002/
|
|
ProxyPassReverse /api/user/ http://localhost:5002/
|
|
</VirtualHost>
|
|
|