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