From 05788b3d2d2245a88be56d86dedb3a6abbad4da3 Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Thu, 19 Jun 2025 00:01:53 +0200 Subject: [PATCH] config --- README.md | 12 ++++++++++++ apache/conf/extra/httpd-vhosts.conf | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad1ce29..5cc86ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # SOA +``` +docker compose up -d --build +``` + +``` +./setup-keycloak.sh +``` + +Hosts: +``` +127.0.0.1 api.local auth.local +``` \ No newline at end of file diff --git a/apache/conf/extra/httpd-vhosts.conf b/apache/conf/extra/httpd-vhosts.conf index 2826951..1c5cd0a 100644 --- a/apache/conf/extra/httpd-vhosts.conf +++ b/apache/conf/extra/httpd-vhosts.conf @@ -69,10 +69,10 @@ Listen 443 ProxyPassReverse /public/ http://public_api:5001/ # Proxy private API (OIDC protected) - ProxyPass /api/ http://user_api:5002/ - ProxyPassReverse /api/ http://user_api:5002/ + ProxyPass /private/ http://user_api:5002/ + ProxyPassReverse /private/ http://user_api:5002/ - + AuthType openid-connect Require valid-user