nginx http logs to remote in docker environment in less than 10 mins

Опубликовано: 21 Март 2026
на канале: medium guy
998
8

customize log formats and send them to remote log servers
all as a docker container using a docker compose file

00:00 Intro
00:35 Total overview of http loging in api gateway level
01:50 All files setup and docker-compose file description
03:06 basic nginx.conf file
04:06 create a docker container with custom configuration file
05:06 Start node express app as remote log server handler
06:06 Configure nginx to send logs to remote server
07:35 Create a docker container for nginx that will log to remote server
09:38 Set custom headers to the mirror requests sent to remote log server
11:35 Outro

kong http logs:    • kong API gateway deploy request HTTP loggi...  
nginx custom logs:    • nginx custom logs and formats in docker en...  
nginx docker hub: https://hub.docker.com/_/nginx
echo server docker hub: https://hub.docker.com/r/ealen/echo-s...
nginx predefined variables: https://www.javatpoint.com/nginx-vari...

#docker
#nginx
#logs
#remote
#http
#custom
#json
#html
#container
#dockercompose
#server
#explanation
#web
#api
#gateway
#linux
#devops
#automation

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

full nginx playlist:    • IP restriction rules in nginx web server i...  



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