SOA/apache/site.conf
Alexis Bruneteau d940ccced8 init
2025-06-02 16:40:29 +02:00

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>