{"repo":"ivangfr/spring-boot-nginx-keycloak-cluster","free":true,"listed":false,"github":"https://github.com/ivangfr/spring-boot-nginx-keycloak-cluster","clone":"git clone https://github.com/ivangfr/spring-boot-nginx-keycloak-cluster.git","description":"The goal of this project is to use Nginx as a reverse proxy and load balancer for a Keycloak cluster with two instances and a Spring Boot application, called simple-service, also with two instances. The simple-service app will use Keycloak for IAM.","language":"Java","stars":22,"topics":["docker","java","keycloak","nginx","spring-boot","oauth2-resource-server","postgresql","spring-security","spring-web-mvc"],"license":"MIT","category":"databases-storage","readme_excerpt":"spring-boot-nginx-keycloak-cluster The goal of this project is to use Nginx as a reverse proxy and load balancer for a Keycloak cluster with two instances and a Spring Boot application, called simple-service , also with two instances. The simple-service app will use Keycloak for IAM. Proof-of-Concepts & Articles On ivangfr.github.io, I have compiled my Proof-of-Concepts (PoCs) and articles. You can easily search for the technology you are interested in by using the filter. Who knows, perhaps I have already implemented a PoC or written an article about what you are looking for. Additional Readings - \\[ Medium \\] Using Nginx to Load Balance Requests to a Spring Boot Web application - \\[ Medium \\] Using Nginx to Load Balance Requests to a Keycloak Cluster - \\[ Medium \\] Nginx Load Balancing Requests to a Keycloak Cluster and a Spring Boot app that uses Keycloak as IAM - \\[ Medium \\] Hardening a Load-Balanced Nginx + Keycloak + Spring Boot Setup with SSL/TLS Project Overview Application - ### simple-service Spring Boot Web Java application that exposes the following endpoints: - GET /api/public : This endpoint is not secured; everyone can access it. - GET /api/secured : This endpoint is secured and can only be accessed by users who provide a JWT access token issued by Keycloak . The token must include the role APP USER . Prerequisites - Java 25 or higher. - A containerization tool (e.g., Docker , Podman , etc.) - jq Building simple-service Docker Image - In a terminal, navigate t","default_branch":null,"files":null,"tree":[],"storefront":"/r/ivangfr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ivangfr/spring-boot-nginx-keycloak-cluster/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}