Hey,
This is my first post, looking forward to learn more!
Today I learnt about Nginx,
What is Nginx and its functionalities
** Nginx as web server**
- Primary function is to serve web pages to client browsers.
Nginx as Load Balancer
- Proxy server: Intermediary server that forwards client request to the other server
- Load Balancing algorithm: Round robin (least busy server get the request)
Nginx as Caching
- Core feature of Nginx Proxy
- It gets the response and stores it instead of hitting server multiple times.
** Security**
- Nginx Proxy acts as shield, reduces attack areas
- one entrypoint for attackers to attack before they attack other web servers
** Enforces HTTPS, Encrypted communication**
- Accepts only encrypted traffic
- Nginx proxy will decrypt the request and transfer it to web servers
Compression and segmentation
- Compresses the file after getting it from web server.
- Sends the data in chunks to the client saving the bandwidth
Configuring Nginx
- We can maintain a Nginx.config file to maintain these configurations
** Nginx as Kubernetes Ingress Controller**
- Ingress Controller- Acts as a load balancer
- manages the ingress(incoming) traffic in K8s.
- It handles the routing to appropriate services based on the ingress rule defined.



Top comments (0)