Skip to content

Instantly share code, notes, and snippets.

View Ojvar's full-sized avatar
🎯
Read to collaborate

AmirHossein MOjvar Ojvar

🎯
Read to collaborate
View GitHub Profile
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
@Ojvar
Ojvar / _keycloak-cluster-config.md
Created April 16, 2022 20:51 — forked from dasniko/_keycloak-cluster-config.md
How to configure a keycloak cluster properly (legacy Wildfly edition)

Keycloak Cluster Configuration (How to) - Legacy Wildfly Distribution!!!

This is a short and simple example on how to build a proper Keycloak cluster, using JDBC_PING as discovery protocol and an NGINX server as reverse proxy.

Please see also my video about Keycloak Clustering: http://www.youtube.com/watch?v=P96VQkBBNxU

@Ojvar
Ojvar / nginx.conf
Created November 7, 2022 14:48 — forked from abbaspour/nginx.conf
Guide how to enable JWT validation on open source nginx server using ngx-http-auth-jwt-module
daemon off;
worker_processes 1;
error_log logs/error.log;
events {
worker_connections 1024;
}
http {
include mime.types;