{"id":66668,"date":"2021-02-12T14:13:00","date_gmt":"2021-02-12T19:13:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=66668"},"modified":"2023-01-12T08:50:40","modified_gmt":"2023-01-12T13:50:40","slug":"nginx-basics","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/","title":{"rendered":"NGINX Basics For Debian Server"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png\" alt=\"NGINX basics for Debian server.\" class=\"wp-image-66670\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n<div class=\"jumbotron\"><p>Experience full control over your server environment and deploy the best operating and management systems that fit your needs with our reliable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS Hosting<\/a>!<\/p><\/div>\n\n\n<p>NGINX is not only a popular reverse proxy option, it\u2019s a complete standalone web server. In this article, you\u2019ll learn some NGINX basics to get up and running on your Debian server right away.<\/p>\n<div id=\"text-table-of-contents\">\n<ul>\n<li><a href=\"#nginx-basics\">NGINX Basics For Debian<\/a><\/li>\n<li><a href=\"#uninstall-apache\">Uninstalling Apache<\/a><\/li>\n<li><a href=\"#config\">Editing Your Configuration Files (Symlink or No?)<\/a><\/li>\n<li><a href=\"#sample\">Sample NGINX Configuration For a Basic Website<\/a><\/li>\n<li><a href=\"#advanced\">Sample Advanced Configuration<\/a><\/li>\n<\/ul>\n<\/div>\n<div id=\"outline-container-org47bcd0d\" class=\"outline-2\">\n<h2 id=\"nginx-basics\"><a id=\"org47bcd0d\"><\/a><a id=\"ID-a1b9c6cc-2428-4970-a269-2fda80e1eeec\"><\/a>NGINX Basics For Debian<\/h2>\n<div id=\"text-nginx-basics\" class=\"outline-text-2\">\n<p>You can use NGINX in a number of different ways. This article presupposes that you want to use NGINX as a replacement for the default Apache web server that comes with your InMotion Hosting cloud VPS account. If you have <a href=\"https:\/\/www.inmotionhosting.com\/cpanel-hosting\/vps-with-cpanel\">VPS hosting with cPanel<\/a> you can still use NGINX. If you have any questions about using NGINX alongside (or instead of) Apache, feel free to get advice from our <a href=\"https:\/\/www.inmotionhosting.com\/managed-hosting\">managed hosting<\/a> advisors.<\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org84faef3\" class=\"outline-2\">\n<h2 id=\"uninstall-apache\"><a id=\"org84faef3\"><\/a><a id=\"ID-f50d7019-a82f-466a-8940-b160a7410bdf\"><\/a>Uninstalling Apache<\/h2>\n<div id=\"text-uninstall-apache\" class=\"outline-text-2\">\n<p>As you may know, your cloud server comes with the Apache web server pre-installed. In order to avoid conflicts, you should consider stopping the Apache service or uninstalling it entirely.<\/p>\n<p>While logged in as the <code>root<\/code> user, run this command to stop the Apache web service:<\/p>\n<pre>service apache2 stop<\/pre>\n<p>And to remove Apache entirely, run this command:<\/p>\n<pre>apt remove apache2<\/pre>\n<p class=\"alert alert-info\">Please note: if you are not logged in as the root user, you must make sure that your user has sudo privileges and append \u201csudo\u201d to each command.<\/p>\n<p>Now you can install NGINX, if you haven\u2019t already, by running this command:<\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt install nginx\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"outline-container-orgaa97832\" class=\"outline-2\">\n<h2 id=\"config\"><a id=\"orgaa97832\"><\/a><a id=\"ID-2bbb561b-9977-40eb-9ddd-05b47d0d8cda\"><\/a>Editing Your Configuration Files (Symlink or No?)<\/h2>\n<div id=\"text-config\" class=\"outline-text-2\">\n<p>You have a lot of options when it comes to editing your NGINX configuration files. But first things first, take note that these files are located in your <code>\/etc\/nginx\/<\/code> directory. You will further notice two directories inside the <code>\/nginx\/<\/code> directory: <code>\/sites-available\/<\/code> and <code>\/sites-enabled\/<\/code>. Many NGINX users will create a configuration file for a website or virtual host by adding it to the <code>\/sites-available\/<\/code> directory and create a symbolic link (symlink) to a file in the <code>\/sites-enabled\/<\/code> directory. If you don\u2019t know how to create a symlink, or would rather not bother, you can simply place your configuration files in the <code>\/sites-enabled\/<\/code> directory and they will be active when you restart NGINX.<\/p>\n<\/div>\n<\/div>\n<div id=\"outline-container-org81d2962\" class=\"outline-2\">\n<h2 id=\"sample\"><a id=\"org81d2962\"><\/a><a id=\"ID-821251ca-f1c8-40fb-800b-3990abb4b0cc\"><\/a>Sample NGINX Configuration For a Basic Website<\/h2>\n<div id=\"text-sample\" class=\"outline-text-2\">\n<p>Here is a sample configuration for a basic website:<\/p>\n<pre class=\"example\">server {\n        listen 80 default_server;\n        root \/var\/www\/html;\n        index index.html index.htm index.nginx-debian.html;\n\n        server_name example.com;\n}\n<\/pre>\n<p>Make sure to restart NGINX whenever you make changes to your configuration:<\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">service nginx restart\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"outline-container-org6e7c49a\" class=\"outline-2\">\n<h2 id=\"advanced\"><a id=\"org6e7c49a\"><\/a><a id=\"ID-bc290444-9aac-4aa2-a4f7-e8270251a0bd\"><\/a>Sample Advanced Configuration<\/h2>\n<div id=\"text-advanced\" class=\"outline-text-2\">\n<p>As you find more use cases for NGINX you can add more <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/nginx\/advanced-nginx-vps-and-dedicated\/\">advanced configurations<\/a>. For example, this configuration removes the <code>.html<\/code> extension from files using the \u201clocation\u201d directive:<\/p>\n<pre class=\"example\">server {\n        listen 80 default_server;\n        root \/var\/www\/html;\n        index index.html index.htm index.nginx-debian.html;\n\n        server_name example.com;\n\n        location \/ {\n        if ($request_uri ~ ^\/(.*)\\.html) {\n        return 302 \/$1;\n        }\n        try_files $uri $uri.html $uri\/ =404;\n       }\n<\/pre>\n<p>This demonstrates how you can use a combination of different directives to get different effects.<\/p>\n<p>For more examples check out the <a href=\"https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/examples\/full\/\" target=\"_blank\" rel=\"noopener noreferrer\">NGINX example configurations page<\/a>.<\/p>\n<h2>Setting Up a Basic Page Cache<\/h2>\n<p>When it comes to optimizing your site speed, NGINX can play a big role.\u00a0 At the very least, you should use NGINX to set up a basic cache for static resources like images, CSS files, and font files.\u00a0 You can do with a directive like the one below:<\/p>\n<pre> location ~* \\.(jpg|jpeg|png|ttf|gif|css|js)$ {<br>expires 7d;<br>}<\/pre>\n<p>Now you should have your NGINX server up and running. Feel free to mix and match and try different configurations to get the perfect recipe. And do consider sharing your results in the comments.<\/p>\n<hr>\n<p>Check out some more resources from the Support Center:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/debian-8\/\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 8 general guide<\/a><\/li>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/how-to-install-a-lamp-stack-on-debian\/\" target=\"_blank\" rel=\"noopener noreferrer\">Install LAMP stack on Debian<\/a><\/li>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/private-search-engine-searx-debian\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to install a private search engine on Debian<\/a><\/li>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/understanding-linux-operating-systems\/\" target=\"_blank\" rel=\"noopener noreferrer\">Understanding Linux operating systems<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>NGINX is not only a popular reverse proxy option, it&#8217;s a complete standalone web server. In this article, you&#8217;ll learn some NGINX basics to get up and running on your Debian server right away. NGINX Basics For Debian Uninstalling Apache Editing Your Configuration Files (Symlink or No?) Sample NGINX Configuration For a Basic Website Sample<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4364],"tags":[],"class_list":["post-66668","post","type-post","status-publish","format-standard","hentry","category-server-usage"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>NGINX Basics For Debian Server | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NGINX Basics For Debian Server | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-12T19:13:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-12T13:50:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\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:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"NGINX Basics For Debian Server\",\"datePublished\":\"2021-02-12T19:13:00+00:00\",\"dateModified\":\"2023-01-12T13:50:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\"},\"wordCount\":555,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png\",\"articleSection\":[\"Server Usage\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\",\"name\":\"NGINX Basics For Debian Server | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png\",\"datePublished\":\"2021-02-12T19:13:00+00:00\",\"dateModified\":\"2023-01-12T13:50:40+00:00\",\"description\":\"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NGINX Basics For Debian Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"NGINX Basics For Debian Server | InMotion Hosting","description":"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.","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:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/","og_locale":"en_US","og_type":"article","og_title":"NGINX Basics For Debian Server | InMotion Hosting","og_description":"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-02-12T19:13:00+00:00","article_modified_time":"2023-01-12T13:50:40+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png","type":"image\/png"}],"author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"NGINX Basics For Debian Server","datePublished":"2021-02-12T19:13:00+00:00","dateModified":"2023-01-12T13:50:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/"},"wordCount":555,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png","articleSection":["Server Usage"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/","name":"NGINX Basics For Debian Server | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics-1024x538.png","datePublished":"2021-02-12T19:13:00+00:00","dateModified":"2023-01-12T13:50:40+00:00","description":"Learn the NGINX basics you need to get a web server up and running in a matter of minutes on your Debian cloud server.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/01\/NGINX-Basics.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/nginx-basics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"NGINX Basics For Debian Server"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4364,"name":"Server Usage","slug":"server-usage","link":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=66668"}],"version-history":[{"count":9,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66668\/revisions"}],"predecessor-version":[{"id":102465,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/66668\/revisions\/102465"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=66668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=66668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=66668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}