{"id":64765,"date":"2020-12-11T11:39:59","date_gmt":"2020-12-11T16:39:59","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=64765"},"modified":"2021-08-16T15:28:30","modified_gmt":"2021-08-16T19:28:30","slug":"gitweb-on-nginx","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/","title":{"rendered":"How To Install and Serve Gitweb on NGINX in Debian"},"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\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png\" alt=\"\" class=\"wp-image-64806\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.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\n<p>\nGitweb is the free and easy alternative to GitHub for anyone looking\nfor a simple way to view and share git repositories online.  You don\u2019t\nget all the attractive features like easy HTTP cloning, actions, and\nmetrics, but you get a minimalist web front end for displaying your\ngit repositories; and for many use cases that\u2019s plenty.  You can\ncustomize the look and feel of your Gitweb installation with CSS, if\nyou want, and it\u2019s easy to configure Gitweb on the NGINX web server in\nDebian.\n<\/p>\n\n<div id=\"text-table-of-contents\">\n<ul>\n<li><a href=\"#why-gitweb\">Key Features<\/a><\/li>\n<li><a href=\"#install-dependencies\">Installing Dependencies: Gitweb, NGINX, and FastCGI<\/a><\/li>\n<li><a href=\"#ngnix-config\">Set Up Ngnix Configuration<\/a><\/li>\n<\/ul>\n<\/div>\n\n<p>\nIn order to follow along with this article you will need to have a\nbasic understanding of how to interact with a command prompt to do the\nfollowing:\n<\/p>\n\n<ul class=\"org-ul\">\n<li>Install programs like Gitweb and FastCGI<\/li>\n<li>Install, stop, start, and restart services like NGINX<\/li>\n<li>Edit files on the command line<\/li>\n<\/ul>\n\n<center>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/gitweb_demo.png\" alt=\"Gitweb project page, with commits listed for your convenience.\" class=\"wp-image-10329\">\n<\/figure>\n<\/center>\n\n\n<div id=\"outline-container-org8670b77\" class=\"outline-2\">\n<h2 id=\"why-gitweb\">Key Features<\/h2>\n<div class=\"outline-text-2\" id=\"text-why-gitweb\">\n<dl class=\"org-dl\">\n<dt>Web front end<\/dt><dd>Visualize all of your git projects in one neat web\ninterface, making your git progress easy to see and share with others<\/dd>\n<dt>Find exactly what you\u2019re looking for<\/dt><dd>Search through commits,\ncommit authors, or actual content with recursive <code>grep<\/code> and regex\nsearch queries<\/dd>\n<dt>Visual git diff<\/dt><dd>See and share exactly what changed on a recent commit<\/dd>\n<dt>Project snapshots<\/dt><dd>Download a zipped archive of your project from\nany point in its history<\/dd>\n<dt>Open raw files<\/dt><dd>View a file blob or the raw file itself right in\nyour web browser<\/dd>\n<\/dl>\n<\/div>\n<\/div>\n\n<div id=\"outline-container-orgbcf60a9\" class=\"outline-2\">\n<h2 id=\"install-dependencies\">Installing Dependencies: Gitweb, NGINX, and FastCGI<\/h2>\n<div class=\"outline-text-2\" id=\"text-install-dependencies\">\n<p>\nBy default your cloud VPS server comes with the Apache web server\ninstalled.  This will conflict with Ngnix, so I\u2019d recommend stopping\nthe <code>apache2<\/code> service:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">sudo service apache2 stop\n<\/pre>\n<\/div>\n\n<p>\nYou could also remove <code>apache2<\/code> entirely:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt remove apache2\n<\/pre>\n<\/div>\n\n<p>\nIf you haven\u2019t already, make sure to install the git version control\nsystem; even if you have git installed locally you will need to have\nit installed on the server as well:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt install git\n<\/pre>\n<\/div>\n\n<p>\nMoving along, you will also want to install the Gitweb application\nitself:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt install gitweb\n<\/pre>\n<\/div>\n\n<p>\nThen install FastCGI:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt install fcgiwrap\n<\/pre>\n<\/div>\n\n<p>\nFinally, make sure to install the NGINX web server:\n<\/p>\n\n<div class=\"org-src-container\">\n<pre class=\"src src-sh\">apt install nginx\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n\n<div id=\"outline-container-org423d94a\" class=\"outline-2\">\n<h2 id=\"ngnix-config\">Set Up Ngnix Configuration<\/h2>\n<div class=\"outline-text-2\" id=\"text-ngnix-config\">\n<p>\nThe configuration below allows you to use any domain or subdomain you\nwant to serve your Gitweb installation from.  Of course, you must\nfirst make sure that you have your DNS configured properly.  If you\nalready have a website on your primary domain (example.com), you can\nuse a CNAME to create a subdomain (git.example.com, for example).\n<\/p>\n\n<pre class=\"example\">server {\n  listen 80;\n  #replace \"example.com\" below with your domain (or subdomain)\n  server_name example.com; \n  \n  location \/index.cgi {\n    root \/usr\/share\/gitweb\/;\n    include fastcgi_params;\n    gzip off;\n    fastcgi_param SCRIPT_NAME $uri;\n    fastcgi_param GITWEB_CONFIG \/etc\/gitweb.conf;\n    fastcgi_pass  unix:\/var\/run\/fcgiwrap.socket;\n  }\n\n  location \/ {\n    root \/usr\/share\/gitweb\/;\n    index index.cgi;\n  }\n}\n<\/pre>\n\n<p>\nNow, make sure to reload your NGINX configuration:\n<\/p>\n\n<pre class=\"example\">sudo service nginx restart\n<\/pre>\n\n<p rel=\"noopener noreferrer\" target=\"_blank\">\nNow when you reload the page, you should see the Gitweb interface with\na \u201cNo projects found\u201d warning.  If you have not set up remote Git\nrepositories yet, you can <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/setting-up-your-remote-repository-with-git\/\" rel=\"noopener noreferrer\" target=\"_blank\">set up your bare git repos<\/a> in the\n<code>\/var\/lib\/git<\/code> directory, which is the default location Gitweb checks\nfor repos.  You can customize this directory location with the Gitweb\nconfiguration file: <code>\/etc\/gitweb.conf<\/code>.\n<\/p>\n\n<p>\nFor further reading, check out some of the other git-related content\nfrom the Support Center:\n<\/p>\n\n<ul>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-fundamentals-complete-beginner-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Git fundamentals (complete guide)<\/a><\/li>\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/git-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to create your own git server<\/a><\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Gitweb is the free and easy alternative to GitHub for anyone looking for a simple way to view and share git repositories online. You don\u2019t get all the attractive features like easy HTTP cloning, actions, and metrics, but you get a minimalist web front end for displaying your git repositories; and for many use cases<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\"> 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":[4309],"tags":[],"class_list":["post-64765","post","type-post","status-publish","format-standard","hentry","category-git"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.\" \/>\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\/website\/git\/gitweb-on-nginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\" \/>\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=\"2020-12-11T16:39:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-16T19:28:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.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\/website\/git\/gitweb-on-nginx\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How To Install and Serve Gitweb on NGINX in Debian\",\"datePublished\":\"2020-12-11T16:39:59+00:00\",\"dateModified\":\"2021-08-16T19:28:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\"},\"wordCount\":504,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\",\"name\":\"How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png\",\"datePublished\":\"2020-12-11T16:39:59+00:00\",\"dateModified\":\"2021-08-16T19:28:30+00:00\",\"description\":\"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install and Serve Gitweb on NGINX in Debian\"}]},{\"@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":"How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting","description":"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.","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\/website\/git\/gitweb-on-nginx\/","og_locale":"en_US","og_type":"article","og_title":"How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting","og_description":"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-12-11T16:39:59+00:00","article_modified_time":"2021-08-16T19:28:30+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.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\/website\/git\/gitweb-on-nginx\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How To Install and Serve Gitweb on NGINX in Debian","datePublished":"2020-12-11T16:39:59+00:00","dateModified":"2021-08-16T19:28:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/"},"wordCount":504,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/","name":"How To Install and Serve Gitweb on NGINX in Debian | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1-1024x538.png","datePublished":"2020-12-11T16:39:59+00:00","dateModified":"2021-08-16T19:28:30+00:00","description":"Learn how to easily serve Gitweb on Nginx, to visualize and interact with your remote repos. View all of your projects in one web interface.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2020\/12\/Gitweb-and-Nginx-1.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/gitweb-on-nginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Install and Serve Gitweb on NGINX in Debian"}]},{"@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":4309,"name":"Git","slug":"git","link":"https:\/\/www.inmotionhosting.com\/support\/website\/git\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64765","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=64765"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64765\/revisions"}],"predecessor-version":[{"id":82716,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/64765\/revisions\/82716"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=64765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=64765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=64765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}