This commit is contained in:
Alexis Bruneteau 2025-06-19 00:01:53 +02:00
parent 575da0c189
commit 05788b3d2d
2 changed files with 15 additions and 3 deletions

View File

@ -1,2 +1,14 @@
# SOA # SOA
```
docker compose up -d --build
```
```
./setup-keycloak.sh
```
Hosts:
```
127.0.0.1 api.local auth.local
```

View File

@ -69,10 +69,10 @@ Listen 443
ProxyPassReverse /public/ http://public_api:5001/ ProxyPassReverse /public/ http://public_api:5001/
# Proxy private API (OIDC protected) # Proxy private API (OIDC protected)
ProxyPass /api/ http://user_api:5002/ ProxyPass /private/ http://user_api:5002/
ProxyPassReverse /api/ http://user_api:5002/ ProxyPassReverse /private/ http://user_api:5002/
<Location /api> <Location /private>
AuthType openid-connect AuthType openid-connect
Require valid-user Require valid-user
</Location> </Location>