From 09a949092c59856962e4a7d132bc5a5e76fe5e55 Mon Sep 17 00:00:00 2001 From: ertopogo Date: Sun, 18 Jan 2026 20:32:59 +0100 Subject: Initial commit: Medusa Backend + storefront + config --- apache-vhost.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 apache-vhost.conf (limited to 'apache-vhost.conf') diff --git a/apache-vhost.conf b/apache-vhost.conf new file mode 100644 index 0000000..66bb310 --- /dev/null +++ b/apache-vhost.conf @@ -0,0 +1,26 @@ + + 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 + -- cgit v1.2.3