Glossary
Nginx
EN-jin-EKS
A fast web server often used as a reverse proxy, load balancer and cache in front of apps.
Nginx (pronounced “engine-x”) is a popular open-source web server. It runs a large share of the world’s websites.
What it’s used for
- Web server: serving static files like HTML, CSS and images, very fast.
- Reverse proxy: receiving requests and passing them to an app running behind it, like Node.js or PHP.
- Load balancer: spreading traffic across several servers.
- HTTPS: handling SSL/TLS certificates.
Example
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://localhost:3000;
}
}
Point your domain’s DNS at the server, and Nginx routes each request based on server_name.