{"id":2557,"date":"2020-04-11T12:38:54","date_gmt":"2020-04-11T09:08:54","guid":{"rendered":"https:\/\/airoserver.com\/?p=2557"},"modified":"2022-03-29T16:16:09","modified_gmt":"2022-03-29T11:46:09","slug":"nginx-web-server","status":"publish","type":"post","link":"https:\/\/airoserver.com\/fa\/dedicated\/nginx-web-server\/","title":{"rendered":"Nginx Web Server"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Previously, we&#8217;ve talked about what a <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/web-server\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"web server (opens in a new tab)\">web server<\/a> is and what different <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/comparing-different-linux-web-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"what different Linux web servers (opens in a new tab)\">Linux web servers<\/a> are. We also explained about <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/apache-web-server\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Apach (opens in a new tab)\">Apach<\/a>e which is the most commonly used Linux web server in the world. In this post, we are going to talk about Nginx which is another Linux web server.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>What is Nginx?<\/strong><\/h4>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-2558\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/04\/images_text_2000px-Nginx_logo.png\" alt=\"\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. From the start, it worked on high performance and optimized RAM usage. This web server is compatible with lots of operating systems like OS X, Linux, HP-UX, Solaris and etc.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Nginx best Features<\/strong><\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Here are some of it&#8217;s best features:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>It can support and manage more than 10000 simultaneous connections with low RAM usage.<\/li>\r\n<li>Load Balancing<\/li>\r\n<li>Fault tolerance<\/li>\r\n<li>Supports SPDY protocol<\/li>\r\n<li>The ability to compress and extract gzip files<\/li>\r\n<li>Supports STARTTL<\/li>\r\n<li>and etc&#8230;<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">There are also some cons about this web server which are:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>It doesn\u2019t offer us an easy GUI to use. But it has a built-in dashboard that allows you to control things by it.\u00a0<\/li>\r\n<li>It doesn\u2019t support\u00a0<a href=\"https:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">.htaccess<\/a>\u00a0file.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Nginx Installation on WHM<\/strong><\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This web server has a very easy installation. All you have to do is to connect to your server using an SSH connection and then copy and paste these commands in turn:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"><strong>cd \/usr\/local\/src<\/strong>\r\n<strong>wget http:\/\/nginxcp.com\/latest\/nginxadmin.tar<\/strong>\r\n<strong>tar xf nginxadmin.tar<\/strong> \r\n<strong>cd publicnginx<\/strong>\r\n<strong>.\/nginxinstaller install<\/strong><\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">After the installation you can go to the Plugins section of WHM, to see the Nginx plugin that you have just installed.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">So from now on, the Nginx will replace Apache in your server and will be used by all websites.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Uninstall Nginx from WHM<\/strong><\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">You can use those simple commands above for installation but replace &#8220;Install&#8221; with &#8220;uninstall&#8221; in the last line.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"><strong>cd \/usr\/local\/src<\/strong>\r\n<strong>wget http:\/\/nginxcp.com\/latest\/nginxadmin.tar\u00a0<\/strong>\r\n<strong>tar xf nginxadmin.tar<\/strong>\r\n<strong>cd publicnginx<\/strong>\r\n<strong>.\/nginxinstaller uninstall<\/strong><\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">We hope that you enjoyed this post. If you did, you can check our <a href=\"https:\/\/airoserver.com\/fa\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blog (opens in a new tab)\">blog<\/a> for more!<\/p>","protected":false},"excerpt":{"rendered":"<p>Previously, we&#8217;ve talked about what a web server is and what different Linux web servers are. We also explained about Apache which is the most commonly used Linux web server in the world. In this post, we are going to talk about Nginx which is another Linux web server. What is Nginx? Nginx is a [&hellip;]<\/p>","protected":false},"author":5,"featured_media":33581,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[179,176,182,178],"tags":[85,142],"class_list":["post-2557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-airoserver","category-dedicated","category-shared-hosting","category-airo-vps","tag-airoserver","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nginx Web Server<\/title>\n<meta name=\"description\" content=\"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/airoserver.com\/fa\/dedicated\/nginx-web-server\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nginx Web Server\" \/>\n<meta property=\"og:description\" content=\"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/airoserver.com\/fa\/dedicated\/nginx-web-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Airoserver | Cloud Hosting Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-11T09:08:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-29T11:46:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/04\/what-is-nginx.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"375\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"SEO Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"SEO Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/\"},\"author\":{\"name\":\"SEO Team\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\"},\"headline\":\"Nginx Web Server\",\"datePublished\":\"2020-04-11T09:08:54+00:00\",\"dateModified\":\"2022-03-29T11:46:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/\"},\"wordCount\":307,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"keywords\":[\"airoserver\",\"Linux\"],\"articleSection\":[\"AiroServer\",\"Dedicated\",\"Shared Hosting\",\"VPS\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/\",\"url\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/\",\"name\":\"Nginx Web Server\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/#website\"},\"datePublished\":\"2020-04-11T09:08:54+00:00\",\"dateModified\":\"2022-03-29T11:46:09+00:00\",\"description\":\"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...\",\"breadcrumb\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/airoserver.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nginx Web Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/airoserver.com\/#website\",\"url\":\"https:\/\/airoserver.com\/\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"description\":\"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver\",\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/airoserver.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/airoserver.com\/#organization\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"url\":\"https:\/\/airoserver.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"contentUrl\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"width\":925,\"height\":880,\"caption\":\"Airoserver | Cloud Hosting Solutions\"},\"image\":{\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\",\"name\":\"SEO Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"caption\":\"SEO Team\"},\"url\":\"https:\/\/airoserver.com\/fa\/author\/seoteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nginx Web Server","description":"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/airoserver.com\/fa\/dedicated\/nginx-web-server\/","og_locale":"fa_IR","og_type":"article","og_title":"Nginx Web Server","og_description":"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...","og_url":"https:\/\/airoserver.com\/fa\/dedicated\/nginx-web-server\/","og_site_name":"Airoserver | Cloud Hosting Solutions","article_published_time":"2020-04-11T09:08:54+00:00","article_modified_time":"2022-03-29T11:46:09+00:00","og_image":[{"width":750,"height":375,"url":"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/04\/what-is-nginx.png","type":"image\/png"}],"author":"SEO Team","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"SEO Team","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#article","isPartOf":{"@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/"},"author":{"name":"SEO Team","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897"},"headline":"Nginx Web Server","datePublished":"2020-04-11T09:08:54+00:00","dateModified":"2022-03-29T11:46:09+00:00","mainEntityOfPage":{"@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/"},"wordCount":307,"commentCount":0,"publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"keywords":["airoserver","Linux"],"articleSection":["AiroServer","Dedicated","Shared Hosting","VPS"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/","url":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/","name":"Nginx Web Server","isPartOf":{"@id":"https:\/\/airoserver.com\/#website"},"datePublished":"2020-04-11T09:08:54+00:00","dateModified":"2022-03-29T11:46:09+00:00","description":"Nginx is a very successful open-source web server that is also used as a reverse proxy, load balancer, and HTTP cache. It has an easy installation...","breadcrumb":{"@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/airoserver.com\/dedicated\/nginx-web-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/airoserver.com\/dedicated\/nginx-web-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/airoserver.com\/"},{"@type":"ListItem","position":2,"name":"Nginx Web Server"}]},{"@type":"WebSite","@id":"https:\/\/airoserver.com\/#website","url":"https:\/\/airoserver.com\/","name":"Airoserver | Cloud Hosting Solutions","description":"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver","publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/airoserver.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/airoserver.com\/#organization","name":"Airoserver | Cloud Hosting Solutions","url":"https:\/\/airoserver.com\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/","url":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","contentUrl":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","width":925,"height":880,"caption":"Airoserver | Cloud Hosting Solutions"},"image":{"@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897","name":"SEO Team","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","caption":"SEO Team"},"url":"https:\/\/airoserver.com\/fa\/author\/seoteam\/"}]}},"_links":{"self":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/2557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/comments?post=2557"}],"version-history":[{"count":0,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/2557\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media\/33581"}],"wp:attachment":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media?parent=2557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/categories?post=2557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/tags?post=2557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}