09th Jan, 2020
Below are few major features of Nginx
Q1. What is Nginx?
NGINX is open-source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. NGINX is a high‑performance, highly scalable, highly available web server, reverse proxy server, and web accelerator (combining the features of an HTTP load balancer, content cache, and more). NGINX offers a highly scalable architecture that is very different from that of Apache (and many other open-source and commercial products in the same category). NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers.
Q2. Enlist some features of Nginx?
Below are some important features of Nginx
Q3. Nginx is written in Which Programming language?
The Complete Source code of Nginx server is written in the C programming language.
Q4. Is Nginx better than Apache?
In term of speed, serving static content,number of concurrent connections, OS support, security, and flexibility Yes Nginx much better than Apache.
Q5. What are directive in Nginx? List few.
Directives are configuration options in Nginx. Each option has name and parameters and must end with a semicolon (;).Directives are used to control Modules and divided into simple directives and block directives.
Below is the list of few Nginx Directives:
Q6. What is Nginx reverse proxy?
A reverse proxy is an intermediary proxy service that takes a client request, passes it on to one or more servers, and subsequently delivers the server's response to the client. A common reverse proxy configuring is to put Nginx in front of an Apache webserver.
Q7. How to install Nginx on ubuntu?
Nginx can be installed using the apt packaging system.
$ Sudo apt install Nginx //this command is used to install Nginx.
To enable the Nginx, use the following command.
$ sudo ufw allow ‘Nginx HTTP’
Q8. What is C10K problem?
C10K Problem refers to the problem of optimizing network sockets to handle a large number of clients at the same time. It is a numeronym for concurrently handling 10,000 connections.
Q9. What is use of ngx_http_upstream_module?
The ngx_http_upstream_module module is used to define groups of servers that can be referenced by the proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass, memcached_pass, and grpc_pass directives.
Q10. What is use of sub_filter directives in Nginx?
The Sub_filter directives are used to search and replace the content in response and a quick fix of stale date.