{"id":26654,"date":"2022-02-11T14:12:03","date_gmt":"2022-02-11T14:12:03","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=26654"},"modified":"2022-04-13T16:57:11","modified_gmt":"2022-04-13T16:57:11","slug":"top-50-nginx-interview-questions-and-answers","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/top-50-nginx-interview-questions-and-answers\/","title":{"rendered":"Top 50 Nginx Interview questions and answers"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/02\/compiler-nginx-debian-and-ubuntu-1024x538.png\" alt=\"\" class=\"wp-image-26657\" width=\"728\" height=\"382\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/02\/compiler-nginx-debian-and-ubuntu-1024x538.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/02\/compiler-nginx-debian-and-ubuntu-300x158.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/02\/compiler-nginx-debian-and-ubuntu-768x403.png 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2022\/02\/compiler-nginx-debian-and-ubuntu.png 1200w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><figcaption><em><strong>Nginx<\/strong><\/em><\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-what-is-nginx\">1) What is Nginx?<\/h2>\n\n\n\n<p>Nginx is a type of an open source web server which is especially used for reverse proxy, load balancer, mail proxy and for the HTTP cache. Nowadays NGINX software is most commonly used by various companies. NGINX can run on Linux, Mac OS X, Solaris, AIX, HP-UX, and the BSD variants.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-in-what-language-was-the-nginx-software-being-written\">2) In what language was the Nginx software being written?<\/h2>\n\n\n\n<p>The language in which the Nginx software is written is \u2018C\u2019 Language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-what-are-the-main-tasks-of-the-nginx-web-server\">3) What are the main tasks of the Nginx web server?<\/h2>\n\n\n\n<p>The following are the main tasks of the Nginx web server:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">The main task <span class=\"hljs-keyword\">of<\/span> the Nginx web server is to deploy dynamic HTTP content on a network using SCGI, Fast CGI handlers <span class=\"hljs-keyword\">for<\/span> scripts, WSGI application servers or Phusion passenger <span class=\"hljs-built_in\">module<\/span>.\nNginx is also used to serve <span class=\"hljs-keyword\">as<\/span> a load balancer.<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"4-what-is-the-official-website-of-nginx-web-server\">4) What is the official website of Nginx web server?<\/h2>\n\n\n\n<p>The official website of the Nginx web server is Nginx.org<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5-what-are-the-difference-between-nginx-and-apache\">5) What are the difference between Nginx and Apache?<\/h2>\n\n\n\n<p>The following are the differences between Nginx and Apache:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">Firstly, Nginx is an event-based web server and Apache is a process-based server.\nNginx is best known <span class=\"hljs-keyword\">for<\/span> its speed and Apache is best known <span class=\"hljs-keyword\">for<\/span> its power.\nNginx is the best when it comes to memory consumption and connection whereas Apache is not best <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-keyword\">this<\/span> category.\nIn Nginx, a single thread is handling all <span class=\"hljs-keyword\">of<\/span> the requests whereas <span class=\"hljs-keyword\">in<\/span> Apache single thread handles a single request.\nNginx is best when you want the load balancing. But Apache will refuse the <span class=\"hljs-keyword\">new<\/span> connection when traffic reaches the limit <span class=\"hljs-keyword\">of<\/span> the process.\nApache provides lots <span class=\"hljs-keyword\">of<\/span> functionality <span class=\"hljs-keyword\">as<\/span> compared to Nginx.<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"6-what-are-the-types-of-versions-of-nginx-web-server\">6) What are the types of versions of Nginx web server?<\/h2>\n\n\n\n<p>The following are the types of versions of Nginx web server:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">Mainline - This version of Nginx contains latest features and bug fixes that are up to date. It is also reliable but it may contain some experimental modules.\nStable- This version of Nginx doesn\u2019t have the latest features but has critical bug fixes. A stable version is always recommended for the production servers.<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"7-what-is-the-master-processor-in-nginx\">7) What is the master processor in Nginx?<\/h2>\n\n\n\n<p>A master processor in Nginx performs the privileged operations such as reading configuration and binding to ports.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"8-what-is-work-processor-in-nginx\">8) What is work processor in Nginx?<\/h2>\n\n\n\n<p>A work process in Nginx actually does the whole processing of the requests.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"9-what-is-the-use-of-sub-status-directives-in-nginx\">9) What is the use of sub_status directives in Nginx?<\/h2>\n\n\n\n<p>The sub status directives is mainly used to know all the current status of Nginx. You can know the current active connections, total connections that are being accepted and all the handled current number of read, write and wait connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"10-what-is-the-purpose-of-the-s-with-nginx-server\">10) What is the purpose of the \u2013s with Nginx Server?<\/h2>\n\n\n\n<p>The main purpose of the \u2013s parameter is to run the executable files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"11-what-are-the-controls-used-in-the-nginx-web-server\">11) What are the controls used in the Nginx web server?<\/h2>\n\n\n\n<p>The following are the main controls used in the Nginx web server:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">Stop\nQuit\nReopen\nReload<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"12-what-is-the-csk10-problem-for-which-the-nginx-web-server-was-discovered\">12) What is the CSK10 problem for which the Nginx web server was discovered?<\/h2>\n\n\n\n<p>CSK10 problem is being referred to the network socket that failed to handle a large number of clients at the same time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"13-how-to-start-nginx-server-through-other-ports\">13) How to start Nginx server through other ports?<\/h2>\n\n\n\n<p>If you want to start the Nginx server, then you have to go to\/ etc\/ Nginx \/ site enabled\/ and if there is a default file, then you have to open a file called default.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"14-how-can-you-add-module-in-the-nginx-server\">14) How can you add module in the Nginx server?<\/h2>\n\n\n\n<p>Firstly, you have to select the Nginx module during the compile. Runtime selection of module is not being supported by the Nginx server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"15-what-is-a-directive-in-nginx\">15) What is a directive in Nginx?<\/h2>\n\n\n\n<p>A directive in NGINX is used to route the server where to look for a resource by including files and folders while matching a location block against a URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"16-what-is-the-advantage-of-using-a-reverse-proxy-server\">16) What is the advantage of using a \u201creverse proxy server\u201d?<\/h2>\n\n\n\n<p>The reverse proxy server can hide the presence and characteristics of the origin server. It acts as an intermediate between internet cloud and web server. It is good for security reason especially when you are using web hosting services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"17-explain-how-you-can-start-nginx-through-a-different-port-other-than-80\">17) Explain how you can start Nginx through a different port other than 80?<\/h2>\n\n\n\n<p>To start Nginx through a different port, you have to go to \/etc\/Nginx\/sites-enabled\/ and if this is the default file, then you have to open file called \u201cdefault.\u201d Edit the file and put the port you want<\/p>\n\n\n\n<p>Like server { listen 81; }<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"18-in-nginx-explain-how-you-can-keep-double-slashes-in-urls\">18) In Nginx, explain how you can keep double slashes in URLs?<\/h2>\n\n\n\n<p>To keep double slashes in URLs you have to use merge_slashes_off;<\/p>\n\n\n\n<p>Syntax: merge_slashes [on\/off]<\/p>\n\n\n\n<p>Default: merge_slashes on<\/p>\n\n\n\n<p>Context: http, server<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"19-explain-what-is-ngx-http-upstream-module-is-used-for\">19) Explain what is ngx_http_upstream_module is used for?<\/h2>\n\n\n\n<p>The ngx_http_upstream_module is used to define groups of servers that can reference by the fastcgi pass, proxy pass, uwsgi pass, memcached pass and scgi pass directives.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"20-explain-what-is-c10k-problem\">20) Explain what is C10K problem?<\/h2>\n\n\n\n<p>C10K problem is referred for the network socket unable to handle a large number of client (10,000) at the same time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"21-what-is-nginx-server\"> 21) What Is Nginx Server?<\/h2>\n\n\n\n<p>Nginx is an open supply web server and a opposite proxy server for HTTP,SMTP, POP3, and IMAP protocols with a robust attention on excessive concurrency,performance and low reminiscence utilization. It is stated as \u201cengine x\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"22-in-which-language-nginx-is-written\">22) In Which Language Nginx Is Written?<\/h2>\n\n\n\n<p>\u2018C\u2019 Language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"23-what-is-official-website-of-nginx\">23) What Is Official Website Of Nginx?<\/h2>\n\n\n\n<p>nginx.Org<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"24-what-is-the-difference-between-apache-web-server-and-nginx\">24) What Is The Difference Between Apache Web Server And Nginx?<\/h2>\n\n\n\n<p>Nginx uses an asynchronous occasion technique to managing a couple of requests whereas Apache Web Server use the synchronous. Nginx\u2019s event\u00adpushed method can provide more predictable overall performance under excessive loads.<br>Apache Web Server managing more than one<br>Nginx dealing with more than one\u2014\u2013B\u2014\u2014\u2014\u2013way, Nginx is a ways higher than Apache<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"25-what-are-features-of-nginx\">25) What Are Features Of Nginx?<\/h2>\n\n\n\n<p>Simultaneous Connections with low reminiscence<br>Auto Indexing<br>Load Balancing<br>Reverse Proxy with Caching<br>Fault Tolerance<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"26-explain-how-you-can-start-nginx-through-a-different-port-other-than-eighty\">26) Explain How You Can Start Nginx Through A Different Port Other Than eighty?<\/h2>\n\n\n\n<p>To start Nginx through a unique port, you have to visit \/and many others\/Nginx\/sitesenabled\/ and if that is the default report, then you need to open document known as \u201cdefault.\u201d Edit the report and put the port you need<br>Like server listen eighty one?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"27-where-the-process-id-does-for-nginx-server\">27) Where The Process Id Does For Nginx Server?<\/h2>\n\n\n\n<p>The manner ID of the master procedure is written inside the file \/usr\/neighborhood quit 13. What Is The Purpose Of \u2013s With Nginx Server?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"28-how-to-add-modules-in-nginx-server\">28) How To Add Modules In Nginx Server?<\/h2>\n\n\n\n<p>Answer :<\/p>\n\n\n\n<p>Nginx modules should be selected throughout collect.<br>Run\u00adtime selection of modules is not supported by using Nginx.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"29-what-is-the-advantage-of-using-a-reverse-proxy-server\">29) What Is The Advantage Of Using A \u201creverse Proxy Server\u201d?<\/h2>\n\n\n\n<p>The reverse proxy server can cover the presence and traits of the beginning server. It acts as an intermediate among internet cloud and internet server. It is ideal for safety cause specially while you are using internet hosting services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"30-in-nginx-explain-how-you-can-keep-double-slashes-in-urls\">30) In Nginx, Explain How You Can Keep Double Slashes In Urls<\/h2>\n\n\n\n<p id=\"30-in-nginx-explain-how-you-can-keep-double-slashes-in-urls\">To preserve double slashes in URLs you have to use merge_slashes_off?<br>Syntax: merge_slashes [on\/off]<br>Default: merge_slashes on<br>Context: http, server<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"31-what-is-ngx-http-upstream-module-is-used-for\">31) What Is Ngx_http_upstream_module Is Used For?<\/h2>\n\n\n\n<p>The ngx_http_upstream_module is used to define corporations of servers which could reference through the fastcgi skip, proxy skip, uwsgi bypass, memcached pass and scgi pass directives.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"32-what-is-c10k-problem\">32) What Is C10k Problem?<\/h2>\n\n\n\n<p>C10K problem is referred for the network socket unable to handle a big range of client (10,000) at the identical time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"33-what-is-the-use-of-stub-status-and-sub-filter-directives\">33) What Is The Use Of Stub_status And Sub_filter Directives?<\/h2>\n\n\n\n<p>Stub_status directive: This directive is used to understand the modern-day fame of Nginx like contemporary lively connection, total connection well-known and treated current variety of read\/write\/wait connection<br>Sub_filter directive: It is used to search and replace the content material in reaction, and brief restore for stale data<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"34-explain-does-nginx-support-compress-the-request-to-the-upstream\">34) Explain Does Nginx Support Compress The Request To The Upstream?<\/h2>\n\n\n\n<p>You can compress the request to the upstream by way of the use of the Nginx module gunzip. The gunzip module is a filter that decompresses responses with \u201cContent Encoding: gzip\u201d for customers or servers that don&#8217;t guide \u201cgzip\u201d encoding technique.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"35-explain-how-you-can-get-the-current-time-in-nginx\">35) Explain How You Can Get The Current Time In Nginx? <\/h2>\n\n\n\n<p>To get the cutting-edge time in Nginx, you need to use variables from SSI module, $date_gmt and $date_local.<\/p>\n\n\n\n<p>Proxy_set_header THE\u00adTIME $date_gmt?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"36-explain-how-to-add-modules-in-nginx-server\">36) Explain How To Add Modules In Nginx Server?<\/h2>\n\n\n\n<p>During the compilation method, Nginx modules must be selected as such runtime selection of modules isn&#8217;t always supported with the aid of Nginx.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"37-explain-how-nginx-can-handle-http-requests\">37) Explain How Nginx Can Handle Http Requests?<\/h2>\n\n\n\n<p>Nginx makes use of the reactor sample. The important occasion loop waits for the OS to sign a readiness event\u00ad such that the information is out there to read from a socket, at which example it&#8217;s miles study into the buffer and processed. A Single thread can serve tens of lots of simultaneous connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"38-in-nginx-how-you-can-prevent-processing-requests-with-undefined-server-names\">38) In Nginx How You Can Prevent Processing Requests With Undefined Server Names?<\/h2>\n\n\n\n<p>A server that simply drops the requests can be defined as Server<\/p>\n\n\n\n<p>concentrate eighty?<br>server_name \u201c \u201c ?<br>go back 444?<\/p>\n\n\n\n<p>Here the server call is kept as an empty string which will fit request without the \u201cHost\u201d header field, and a unique Nginx\u2019s non\u00adwellknown code 444 is returned that terminates the relationship.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"39-define-some-special-features-of-nginx\">39) Define Some Special Features Of Nginx?<\/h2>\n\n\n\n<p>Special features of the Nginx server includes :<\/p>\n\n\n\n<p>Reverse proxy\/ L7 Load Balancer<br>Embedded Perl interpreter<br>On the fly binary improve<br>Useful for re\u00adwriting URLs and excellent PCRE aid<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"40-how-to-reload-configuration-file-of-nginx-server\">40) How To Reload Configuration File Of Nginx Server?<\/h2>\n\n\n\n<p>You can reload Nginx configuration record by way of jogging this command: nginx -\u00ads reload<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"41-what-is-the-difference-between-apache-web-server-and-nginx\">41) What Is The Difference Between Apache Web Server And Nginx?<\/h2>\n\n\n\n<p>Nginx uses an asynchronous event approach to handling multiple requests whereas Apache Web Server use the synchronous. Nginx\u2019s event\u00addriven approach can provide more predictable performance under high loads.<br>Apache Web Server handling multiple request<br>|\u2014\u00adA\u2014\u2013||\u2014\u2013B\u2014\u2014\u2014\u2013||\u2014\u2014\u00adC\u2014\u2014|<br>Nginx handling multiple request<br>|\u2014\u00adA\u2014\u2013|<br>|\u2014\u2013B\u2014\u2014\u2014\u2013|<br>|\u2014\u2014\u00adC\u2014\u2014|<\/p>\n\n\n\n<p>In this way, Nginx is far better than Apache.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"42-explain-how-you-can-start-nginx-through-a-different-port-other-than-80\">42) Explain How You Can Start Nginx Through A Different Port Other Than 80?<\/h2>\n\n\n\n<p>To start Nginx through a different port, you have to go to \/etc\/Nginx\/sitesenabled\/ and if this is the default file, then you have to open file called \u201cdefault.\u201d Edit the file and put the port you want<br>Like server { listen 81\u037e }<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"43-where-the-process-id-does-for-nginx-server\">43) Where The Process Id Does For Nginx Server?<\/h2>\n\n\n\n<p>The process ID of the master process is written in the file \/usr\/local\/nginx\/logs\/nginx.pid<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"44-what-is-the-purpose-of-s-with-nginx-server\">44) What Is The Purpose Of \u2013s With Nginx Server?<\/h2>\n\n\n\n<p>-s parameter is used to run the executable file of nginx.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"45-how-to-add-modules-in-nginx-server\">45) How To Add Modules In Nginx Server?<\/h2>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">Nginx modules must be selected during compile.\nRun\u00adtime selection of modules is not supported by Nginx.<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"46-explain-is-it-possible-to-replace-nginx-errors-like-502-error-with-503\">46) Explain Is It Possible To Replace Nginx Errors Like 502 Error With 503?<\/h2>\n\n\n\n<p>502= Bad gateway<br>503= Server overloaded<br>Yes, it is possible but you to ensure that fastcgi_intercept_errors is set to ON, and use the error page directive.<\/p>\n\n\n\n<p>Location \/<br>{<br>fastcgi_pass 127.0.01:9001\u037e<br>fastcgi_intercept_errors on\u037e<br>error_page 502 =503\/error_page.html\u037e<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u2026<\/h1>\n\n\n\n<p>}<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"47-in-nginx-explain-how-you-can-keep-double-slashes-in-urls\">47) In Nginx, Explain How You Can Keep Double Slashes In Urls?<\/h2>\n\n\n\n<p>To keep double slashes in URLs you have to use merge_slashes_off\u037e<br>Syntax: merge_slashes [on\/off]<br>Default: merge_slashes on<br>Context: http, server<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"48-what-is-ngx-http-upstream-module-is-used-for\">48) What Is Ngx_http_upstream_module Is Used For?<\/h2>\n\n\n\n<p>The ngx_http_upstream_module is used to define groups of servers that can reference by the fastcgi pass, proxy pass, uwsgi pass, memcached pass and scgi pass directives.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"49-how-to-reopening-the-log-files-in-nginx-server\">49) How To Reopening The Log Files In Nginx Server?<\/h2>\n\n\n\n<p>You can use nginx \u2013s reopen<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"50-how-to-start-and-stop-nginx-server\">50) How to start and stop nginx server?<\/h2>\n\n\n\n<p>Run the below command to start Nginx server:<\/p>\n\n\n\n<p>sudo systemctl start nginx<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"related-video\">Related video:<\/h4>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"  id=\"_ytid_28504\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/XhgUClE5uC0?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1) What is Nginx? Nginx is a type of an open source web server which is especially used for reverse proxy, load balancer, mail proxy and for the HTTP cache. Nowadays NGINX software is most commonly used by various companies. NGINX can run on Linux, Mac OS X, Solaris, AIX, HP-UX, and the BSD variants&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[52],"tags":[7245,420,1824,349,325,984,297,379,399,381,2769,894],"class_list":["post-26654","post","type-post","status-publish","format-standard","hentry","category-interview-questions-answers","tag-nginx","tag-apache","tag-control","tag-file","tag-language","tag-log","tag-module","tag-proxy","tag-server","tag-version","tag-web-server","tag-website"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/26654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=26654"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/26654\/revisions"}],"predecessor-version":[{"id":26661,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/26654\/revisions\/26661"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=26654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=26654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=26654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}