{"id":3405,"date":"2021-01-07T21:36:30","date_gmt":"2021-01-07T16:06:30","guid":{"rendered":"https:\/\/seoneurons.com\/blog\/?p=3405"},"modified":"2022-10-24T20:09:43","modified_gmt":"2022-10-24T14:39:43","slug":"hide-nginx-server-version-header","status":"publish","type":"post","link":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/","title":{"rendered":"How to hide NGINX server version from header response."},"content":{"rendered":"\n<p>When you install the NGINX server for your website, it responds with its version details when we check its header response. You must hide the nginx server version from the header response, as hackers can use this information for suspicious activities.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">In this guide, we\u2019ll walk through:<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #494949;color:#494949\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #494949;color:#494949\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#hide-the-nginx-server-version-from-the-header-response\" >Hide the NGINX server version from the header response.<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#configure-nginxconf-file\" >Configure nginx.conf file<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#open-the-nginx-server-configuration-file\" >Open the nginx server configuration file.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#now-hide-the-server-version\" >Now hide the server version.<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#hide-the-nginx-server-version-from-bitnami\" >Hide the NGINX server version from Bitnami<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#access-nginxconf-file-of-the-stack\" >Access nginx.conf file of the stack<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#edit-nginxconf-file-of-the-bitnami-stack\" >Edit nginx.conf file of the Bitnami stack<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"720\" src=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png\" alt=\"Hide NGINX server version header\" class=\"wp-image-3622\" srcset=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png 1280w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response-300x169.png 300w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response-1024x576.png 1024w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response-768x432.png 768w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response-390x220.png 390w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><figcaption>Hide NGINX server version header<\/figcaption><\/figure>\n<\/div>\n\n\n<p>This tutorial article will discuss how we can hide the server version from nginx and customize Bitnami nginx.<\/p>\n\n\n\n\t\t<div class=\"stream-item stream-item-in-post stream-item-in-post-1\">\n\t\t<\/div>\n\t\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-hide-the-nginx-server-version-from-the-header-response\"><span class=\"ez-toc-section\" id=\"hide-the-nginx-server-version-from-the-header-response\"><\/span>Hide the NGINX server version from the header response.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We&#8217;ll guide you on hiding the NGINX server version from the header response of your website. You can implement this method on standard nginx or Bitnami stack nginx applications.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-with-server-version.png\" alt=\"nginx-with-server-version\" class=\"wp-image-3626\" width=\"445\" height=\"229\" srcset=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-with-server-version.png 889w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-with-server-version-300x154.png 300w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-with-server-version-768x395.png 768w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><figcaption>nginx with the server version<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-configure-nginx-conf-file\"><span class=\"ez-toc-section\" id=\"configure-nginxconf-file\"><\/span>Configure nginx.conf file<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You have to make some changes in the nginx server configuration so that it hides the server information. Then, you&#8217;ve to open the SSH terminal of your website and execute the following command.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-open-the-nginx-server-configuration-file\"><span class=\"ez-toc-section\" id=\"open-the-nginx-server-configuration-file\"><\/span>Open the nginx server configuration file.<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>To open the configuration, you&#8217;ve to execute the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i\nsudo \/etc\/nginx\/nginx.conf\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-now-hide-the-server-version\"><span class=\"ez-toc-section\" id=\"now-hide-the-server-version\"><\/span>Now hide the server version.<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>For this, you&#8217;ve to locate the HTTP block of the nginx server configuration and add <code>server_tokens off; <\/code>into the block, as displayed below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">http {\n    ...\n<\/mark>\n    server_tokens off;\n    ...\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">}<\/mark><\/code><\/pre>\n\n\n\n<p>Now save the changes by pressing ctrl+X, then Y, and then press enter.<\/p>\n\n\n\n\t\t<div class=\"stream-item stream-item-in-post stream-item-in-post-2\">\n\t\t<\/div>\n\t\n\n\n\n<p>Now you&#8217;ve to check the status of nginx settings and execute the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nginx -t\n<\/code><\/pre>\n\n\n\n<p>It will respond as the system configuration is ok. Now you can restart the nginx. Execute the following command to restart the nginx server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo service nginx reload #debian\/ubuntu\nsystemctl restart nginx #redhat\/centos<\/code><\/pre>\n\n\n\n<p>After restarting the system, you can check the system response by executing.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> curl -I https:\/\/example.com\/<\/code><\/pre>\n\n\n\n<p>Using the above method, you can remove the nginx server version from the website&#8217;s header so that you keep your self-hosted project safe and sound.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-hide-the-nginx-server-version-from-bitnami\"><span class=\"ez-toc-section\" id=\"hide-the-nginx-server-version-from-bitnami\"><\/span>Hide the NGINX server version from Bitnami<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Bitnami uses a customized nginx server to make its a user easy to understand its files and locations. And also provide a very secure <a href=\"https:\/\/seoneurons.com\/blog\/bitnami\/access-phpmyadmin-bitnami-google-cloud\/\">PHPMyAdmin page for its users<\/a> to protect the website from hackers.<\/p>\n\n\n\n<p>You can hide the nginx server version by editing nginx.conf file of WordPress Bitnami nginx. You&#8217;ve to locate the file and add the code the same way as we did above.<\/p>\n\n\n\n\t\t<div class=\"stream-item stream-item-in-post stream-item-in-post-3\">\n\t\t<\/div>\n\t\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-access-nginx-conf-file-of-the-stack\"><span class=\"ez-toc-section\" id=\"access-nginxconf-file-of-the-stack\"><\/span>Access nginx.conf file of the stack<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>NGINX server version located in \/opt\/bitnami\/nginx\/conf\/nginx.conf. To edit this, you&#8217;ve to access the server with full permission.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -i\nnano \/opt\/bitnami\/nginx\/conf\/nginx.conf<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-edit-nginx-conf-file-of-the-bitnami-stack\"><span class=\"ez-toc-section\" id=\"edit-nginxconf-file-of-the-bitnami-stack\"><\/span>Edit nginx.conf file of the Bitnami stack<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Here you&#8217;ve to add the following lines to hide the server version of your application.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">http {\n    ...\n\n<\/mark>\n    server_tokens off;\n    ...\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">}<\/mark><\/code><\/pre>\n\n\n\n<p>Now save the configuration by using ctrl+X, then Y, and then press enter to update the settings. Finally, you can test setting files by executing the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nginx -t<\/code><\/pre>\n\n\n\n\t\t<div class=\"stream-item stream-item-in-post stream-item-in-post-5\">\n\t\t<\/div>\n\t\n\n\n\n<p>If your system responds with ok status, you can reload the new configuration in the system or restart it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nginx -s reload\nsudo \/opt\/bitnami\/ctlscript.sh restart nginx<\/code><\/pre>\n\n\n\n<p>After restarting the system, you can check the header response.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1052\" height=\"523\" src=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-without-server-version.png\" alt=\"Finally NGINX version hidden\" class=\"wp-image-3624\" srcset=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-without-server-version.png 1052w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-without-server-version-300x149.png 300w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-without-server-version-1024x509.png 1024w, https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/nginx-without-server-version-768x382.png 768w\" sizes=\"auto, (max-width: 1052px) 100vw, 1052px\" \/><figcaption>nginx header response with the server version.<\/figcaption><\/figure>\n\n\n\n<p>So using the command line, you can hide server version information from the header response.<\/p>\n\n\n\n<p>I hope you liked this article. In case of any doubt, feel free to contact us or comment in the comment section provided below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you install the NGINX server for your website, it responds with its version details when we check its header response. You must hide the nginx server version from the header response, as hackers can use this information for suspicious activities. Hide NGINX server version header This tutorial article will discuss how we can hide &hellip;<\/p>\n","protected":false},"author":2,"featured_media":3622,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[889],"tags":[708],"class_list":["post-3405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial","tag-nginx"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to hide NGINX server version from header response. - SEO Neurons<\/title>\n<meta name=\"description\" content=\"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to hide NGINX server version from header response.\" \/>\n<meta property=\"og:description\" content=\"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities\" \/>\n<meta property=\"og:url\" content=\"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Neurons\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SEONeuronsAgency\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sihmar.ashok\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-07T16:06:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-24T14:39:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ashok Sihmar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ashoksihmar23\" \/>\n<meta name=\"twitter:site\" content=\"@SEONeurons\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashok Sihmar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/\"},\"author\":{\"name\":\"Ashok Sihmar\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/person\\\/b9086d09486a6b16c4853ceff88e9912\"},\"headline\":\"How to hide NGINX server version from header response.\",\"datePublished\":\"2021-01-07T16:06:30+00:00\",\"dateModified\":\"2022-10-24T14:39:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/\"},\"wordCount\":526,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/hide-nginx-server-version-header-response.png\",\"keywords\":[\"nginx\"],\"articleSection\":[\"Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/\",\"name\":\"How to hide NGINX server version from header response. - SEO Neurons\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/hide-nginx-server-version-header-response.png\",\"datePublished\":\"2021-01-07T16:06:30+00:00\",\"dateModified\":\"2022-10-24T14:39:43+00:00\",\"description\":\"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#primaryimage\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/hide-nginx-server-version-header-response.png\",\"contentUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/hide-nginx-server-version-header-response.png\",\"width\":1280,\"height\":720,\"caption\":\"hide-nginx-server-version-header-response\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/hide-nginx-server-version-header\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/seoneurons.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to hide NGINX server version from header response.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\",\"name\":\"SEO Neurons\",\"description\":\"Create, Optimize Website and Drive More Organic Traffic\",\"publisher\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#organization\"},\"alternateName\":\"SEO Neurons\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#organization\",\"name\":\"SEO Neurons\",\"alternateName\":\"SEO Neurons\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/seoneurons-logo.svg\",\"contentUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/seoneurons-logo.svg\",\"width\":1,\"height\":1,\"caption\":\"SEO Neurons\"},\"image\":{\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/SEONeuronsAgency\\\/\",\"https:\\\/\\\/x.com\\\/SEONeurons\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/seoneurons\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/SEONeurons\",\"https:\\\/\\\/www.instagram.com\\\/seo_neurons\\\/\",\"https:\\\/\\\/t.me\\\/SEONeurons\"],\"legalName\":\"SEO Neurons\",\"foundingDate\":\"2021-01-21\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1\",\"maxValue\":\"10\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/#\\\/schema\\\/person\\\/b9086d09486a6b16c4853ceff88e9912\",\"name\":\"Ashok Sihmar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/cropped-ashok-2023-96x96.jpg\",\"url\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/cropped-ashok-2023-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/seoneurons.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/cropped-ashok-2023-96x96.jpg\",\"caption\":\"Ashok Sihmar\"},\"description\":\"Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.\",\"sameAs\":[\"https:\\\/\\\/seoneurons.com\\\/en\\\/author\\\/ashoksihmar\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sihmar.ashok\",\"https:\\\/\\\/www.instagram.com\\\/ashoksihmar23\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ashoksihmar\",\"https:\\\/\\\/x.com\\\/ashoksihmar23\"],\"birthDate\":\"1992-02-11\",\"gender\":\"male\",\"knowsAbout\":[\"SEO\",\"GA4\"],\"knowsLanguage\":[\"English\",\"Hindi\"],\"jobTitle\":\"CEO\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to hide NGINX server version from header response. - SEO Neurons","description":"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities","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:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/","og_locale":"en_US","og_type":"article","og_title":"How to hide NGINX server version from header response.","og_description":"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities","og_url":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/","og_site_name":"SEO Neurons","article_publisher":"https:\/\/www.facebook.com\/SEONeuronsAgency\/","article_author":"https:\/\/www.facebook.com\/sihmar.ashok","article_published_time":"2021-01-07T16:06:30+00:00","article_modified_time":"2022-10-24T14:39:43+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png","type":"image\/png"}],"author":"Ashok Sihmar","twitter_card":"summary_large_image","twitter_creator":"@ashoksihmar23","twitter_site":"@SEONeurons","twitter_misc":{"Written by":"Ashok Sihmar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#article","isPartOf":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/"},"author":{"name":"Ashok Sihmar","@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/person\/b9086d09486a6b16c4853ceff88e9912"},"headline":"How to hide NGINX server version from header response.","datePublished":"2021-01-07T16:06:30+00:00","dateModified":"2022-10-24T14:39:43+00:00","mainEntityOfPage":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/"},"wordCount":526,"commentCount":0,"publisher":{"@id":"https:\/\/seoneurons.com\/blog\/#organization"},"image":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#primaryimage"},"thumbnailUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png","keywords":["nginx"],"articleSection":["Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/","url":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/","name":"How to hide NGINX server version from header response. - SEO Neurons","isPartOf":{"@id":"https:\/\/seoneurons.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#primaryimage"},"image":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#primaryimage"},"thumbnailUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png","datePublished":"2021-01-07T16:06:30+00:00","dateModified":"2022-10-24T14:39:43+00:00","description":"Hide the nginx server version from the header of your blog. Using Nginx server or customized nginx in bitnami stack. Prevent website from vulnerable activities","breadcrumb":{"@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#primaryimage","url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png","contentUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2021\/01\/hide-nginx-server-version-header-response.png","width":1280,"height":720,"caption":"hide-nginx-server-version-header-response"},{"@type":"BreadcrumbList","@id":"https:\/\/seoneurons.com\/blog\/hide-nginx-server-version-header\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/seoneurons.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/seoneurons.com\/blog\/"},{"@type":"ListItem","position":3,"name":"How to hide NGINX server version from header response."}]},{"@type":"WebSite","@id":"https:\/\/seoneurons.com\/blog\/#website","url":"https:\/\/seoneurons.com\/blog\/","name":"SEO Neurons","description":"Create, Optimize Website and Drive More Organic Traffic","publisher":{"@id":"https:\/\/seoneurons.com\/blog\/#organization"},"alternateName":"SEO Neurons","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/seoneurons.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/seoneurons.com\/blog\/#organization","name":"SEO Neurons","alternateName":"SEO Neurons","url":"https:\/\/seoneurons.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/seoneurons-logo.svg","contentUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/seoneurons-logo.svg","width":1,"height":1,"caption":"SEO Neurons"},"image":{"@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SEONeuronsAgency\/","https:\/\/x.com\/SEONeurons","https:\/\/www.linkedin.com\/company\/seoneurons","https:\/\/www.youtube.com\/c\/SEONeurons","https:\/\/www.instagram.com\/seo_neurons\/","https:\/\/t.me\/SEONeurons"],"legalName":"SEO Neurons","foundingDate":"2021-01-21","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1","maxValue":"10"}},{"@type":"Person","@id":"https:\/\/seoneurons.com\/blog\/#\/schema\/person\/b9086d09486a6b16c4853ceff88e9912","name":"Ashok Sihmar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/cropped-ashok-2023-96x96.jpg","url":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/cropped-ashok-2023-96x96.jpg","contentUrl":"https:\/\/seoneurons.com\/blog\/wp-content\/uploads\/2023\/06\/cropped-ashok-2023-96x96.jpg","caption":"Ashok Sihmar"},"description":"Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.","sameAs":["https:\/\/seoneurons.com\/en\/author\/ashoksihmar\/","https:\/\/www.facebook.com\/sihmar.ashok","https:\/\/www.instagram.com\/ashoksihmar23\/","https:\/\/www.linkedin.com\/in\/ashoksihmar","https:\/\/x.com\/ashoksihmar23"],"birthDate":"1992-02-11","gender":"male","knowsAbout":["SEO","GA4"],"knowsLanguage":["English","Hindi"],"jobTitle":"CEO"}]}},"_links":{"self":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/posts\/3405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/comments?post=3405"}],"version-history":[{"count":0,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/posts\/3405\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/media\/3622"}],"wp:attachment":[{"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/media?parent=3405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/categories?post=3405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seoneurons.com\/blog\/wp-json\/wp\/v2\/tags?post=3405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}