auth request in nginx gateway level request in docker environment in less than 10 mins

Опубликовано: 20 Март 2026
на канале: medium guy
2,534
33

Make gateway level requests and respond accordingly to client request
using auth_request module in nginx
in other words as mentioned in nginx docs: client authorization and authentication based on the result of a subrequest
all as a docker container

00:00 Intro
00:57 Description of api gateway level authentication / authorization in an overview
04:55 Docker compose file to spin up an nginx server
05:45 Nginx config file for enabling auth_request module
07:21 Nodejs express basic authentication server with custom logic
07:58 Start the nginx server running as a docker container
08:52 Start up the nodejs server acting as the authentication service
09:09 Test all components and api gateway level authentication / authorization
11:16 Header management between client, api gateway and authentication service
13:33 Outro

nginx auth_request module: http://nginx.org/en/docs/http/ngx_htt...
nginx docker hub: https://hub.docker.com/_/nginx
echo server docker hub: https://hub.docker.com/r/ealen/echo-s...

#docker
#nginx
#authentication
#authorization
#access
#allow
#deny
#container
#dockercompose
#server
#mongo
#database
#explanation
#web
#api
#gateway
#linux
#devops
#automation

USEFUL********
my repo link: https://github.com/sinawic/4yt/tree/m...



PLAYLISTS*******
dockerization:    • dockerize node javascript angular app + do...  
kong api gateway:    • kong API gateway installation and basic co...  
linux:    • compile and run C / CPP code in linux usin...  
load balancing:    • how to setup and simulate a load balancer ...  
nginx:    • IP restriction rules in nginx web server i...  


let's talk a bit :-*
LINKS********
  / sina.wic  
  / sinawic