Web / NGINX Interview questions
What is SSL termination in NGINX?
SSL termination means NGINX decrypts incoming HTTPS traffic and forwards the request to backend servers as plain HTTP (or re-encrypts it separately). The client-facing connection is encrypted; the internal connection typically isn't, unless the backend also requires TLS.
server { listen 443 ssl; server_name example.com; ssl_certificate /etc/nginx/ssl/example.com.crt; ssl_certificate_key /etc/nginx/ssl/example.com.key; location / { proxy_pass http://backend_app; } }
Centralizing TLS at NGINX means certificates only need to be managed and renewed in one place, and application servers are freed from handling encryption work themselves.
More Related questions...