{"id":9780,"date":"2021-02-11T16:14:19","date_gmt":"2021-02-11T13:14:19","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=9780"},"modified":"2024-07-19T13:49:30","modified_gmt":"2024-07-19T10:49:30","slug":"make-git-directory-web-inaccessible-apache-nginx","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/","title":{"rendered":"How to make .git directory web inaccessible (Apache\/Nginx)"},"content":{"rendered":"<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">In this guide, I will show you how to block access to .<em>git<\/em> folder. <!--more--><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">When you initialize or deploy the Git application, it creates a .<em>git<\/em> folder that contains sensitive information. If .<em>git<\/em> folder is accessible over the Internet, it can potentially leak your data.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Here is an example of\u00a0 data leaking with a security vulnerability scanner like <a href=\"https:\/\/github.com\/liamg\/gitjacker\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">gitjacker<\/a><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Gitjacker downloads git repositories and extract their contents from sites where the <em>.git<\/em> directory has been mistakenly uploaded. It will still manage to recover a significant portion of a repository even where directory listings are disabled.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9781\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/gitjacker.gif\" alt=\"How to make .git directory web inaccessible (Apache\/Nginx) - Image 1\" width=\"928\" height=\"635\" \/ title=\"How to make .git directory web inaccessible (Apache\/Nginx) - Image 1\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Webservers allow you to block certain files or directories under your document root from being accessed over the web.<\/span><\/p>\n<h2 style=\"text-align: center;\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Nginx<\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To block access to .<em>git<\/em> folder, add the following to your Nginx <a href=\"https:\/\/unihost.com\/dedicated\/\">server<\/a> entry.<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">location ~ \/\\.git {<\/span><br \/><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">deny all;<\/span><br \/><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">}<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Now restart Nginx.<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">systemctl restart nginx<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9783\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/DM_110221_EokrVU_5_DM_110221.png\" alt=\"How to make .git directory web inaccessible (Apache\/Nginx) - Image 2\" width=\"517\" height=\"306\" \/ title=\"How to make .git directory web inaccessible (Apache\/Nginx) - Image 2\"><\/span><\/p>\n<h2 style=\"text-align: center;\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Apache<\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To block access to .<em>git<\/em> folder, add the following to your <em>httpd.conf<\/em> file.<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">&lt;Directorymatch \"^\/.*\/\\.git\/\"&gt;\n  Order 'deny,allow'\n  Deny from all\n&lt;\/Directorymatch&gt;<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Now restart the Apache.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">RHEL &amp; Centos<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">systemctl restart httpd<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Ubuntu \/ Debian<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">systemctl restart apache2<\/span><\/pre>\n<h2 style=\"text-align: center;\"><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">htaccess rule<\/span><\/h2>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Open your website root directory and place the next to .htaccess file:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">RedirectMatch 404 ^\/\\.git<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">The rule will take effect as soon as you save your changes.<\/span><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, I will show you how to block access to .git folder.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158],"tags":[],"class_list":["post-9780","post","type-post","status-publish","format-standard","hentry","category-dedicated-servers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ<\/title>\n<meta name=\"description\" content=\"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ\" \/>\n<meta property=\"og:description\" content=\"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-11T13:14:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-19T10:49:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"How to make .git directory web inaccessible (Apache\/Nginx)\",\"datePublished\":\"2021-02-11T13:14:19+00:00\",\"dateModified\":\"2024-07-19T10:49:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\"},\"wordCount\":191,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif\",\"articleSection\":[\"02. Dedicated servers\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\",\"url\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\",\"name\":\"How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif\",\"datePublished\":\"2021-02-11T13:14:19+00:00\",\"dateModified\":\"2024-07-19T10:49:30+00:00\",\"description\":\"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?.\/gitjacker.gif\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?.\/gitjacker.gif\",\"width\":928,\"height\":635},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to make .git directory web inaccessible (Apache\/Nginx)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ","description":"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.","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:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/","og_locale":"en_US","og_type":"article","og_title":"How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ","og_description":"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.","og_url":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2021-02-11T13:14:19+00:00","article_modified_time":"2024-07-19T10:49:30+00:00","og_image":[{"url":"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif","type":"","width":"","height":""}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"How to make .git directory web inaccessible (Apache\/Nginx)","datePublished":"2021-02-11T13:14:19+00:00","dateModified":"2024-07-19T10:49:30+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/"},"wordCount":191,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"image":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif","articleSection":["02. Dedicated servers"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/","url":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/","name":"How to make .git directory web inaccessible (Apache\/Nginx) - Unihost.FAQ","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage"},"image":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/wp-content\/uploads\/gitjacker.gif","datePublished":"2021-02-11T13:14:19+00:00","dateModified":"2024-07-19T10:49:30+00:00","description":"Webservers allow you to block certain files or directories under your document root from being accessed over the web. Apache, Nginx or .htaccess file.","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#primaryimage","url":"https:\/\/unihost.com\/help\/minio.php?.\/gitjacker.gif","contentUrl":"https:\/\/unihost.com\/help\/minio.php?.\/gitjacker.gif","width":928,"height":635},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/make-git-directory-web-inaccessible-apache-nginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"How to make .git directory web inaccessible (Apache\/Nginx)"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=9780"}],"version-history":[{"count":5,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9780\/revisions"}],"predecessor-version":[{"id":16699,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9780\/revisions\/16699"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=9780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=9780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=9780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}