ServerName lucien-sens-bon.com
ServerAlias www.lucien-sens-bon.com
ProxyPreserveHost On
ProxyPass / http://localhost:8000/
ProxyPassReverse / http://localhost:8000/
ErrorLog ${APACHE_LOG_DIR}/storefront-error.log
CustomLog ${APACHE_LOG_DIR}/storefront-access.log combined
ServerName api.lucien-sens-bon.com
ProxyPreserveHost On
ProxyPass / http://localhost:9000/
ProxyPassReverse / http://localhost:9000/
ErrorLog ${APACHE_LOG_DIR}/api-error.log
CustomLog ${APACHE_LOG_DIR}/api-access.log combined
# Note : Pour activer SSL (https), utilisez Certbot :
# sudo certbot --apache -d lucien-sens-bon.com -d api.lucien-sens-bon.com