{"id":47,"date":"2017-03-22T12:45:35","date_gmt":"2017-03-22T12:45:35","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=47"},"modified":"2018-01-25T06:16:32","modified_gmt":"2018-01-25T12:16:32","slug":"how-to-install-caddy-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/","title":{"rendered":"How to install Caddy on Ubuntu 16.04"},"content":{"rendered":"<div id=\"linux-2381582286\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which supports Virtual hosting, HTTP\/2, IPv6, Markdown, WebSockets, FastCGI, automatic HTTPS via Let&#8217;s Encrypt, templates and more. This guide should work on other Linux VPS systems as well but was tested and written for an Ubuntu 16.04 VPS.<\/p>\n<p><!--more--><\/p>\n<h2>Log in to your VPS via SSH<\/h2>\n<pre>ssh user@vps_IP<\/pre>\n<h2>Update the system and install all necessary packages<\/h2>\n<pre>sudo apt-get update &amp;&amp; apt-get -y upgrade\r\nsudo apt-get install curl<\/pre>\n<h2>Install Caddy<\/h2>\n<p>Installing Caddy is quick and easy:<\/p>\n<pre>curl https:\/\/getcaddy.com | bash<\/pre>\n<p>If you want to install Caddy with some extra features, you can use the <code>-s<\/code> switch with a comma-separated list of directives, like in the following example:<\/p>\n<pre>curl https:\/\/getcaddy.com | bash -s realip,expires,upload<\/pre>\n<p>Once the installation is completed, we need to add the <code>cap_net_bind_servicecapability<\/code> to the Caddy binary. This capability will allow the Caddy executable to bind to a port less than 1024.<\/p>\n<pre>sudo setcap cap_net_bind_service=+ep \/usr\/local\/bin\/caddy<\/pre>\n<p>Next, create the directories where we will store the Caddy configuration file <code>Caddyfile<\/code> and <a href=\"https:\/\/linuxhostsupport.com\/ssl-installation.html\">SSL certificates<\/a>. The term &#8220;<code>Caddyfile<\/code>&#8221; is a plaintext configuration file used to configure how Caddy works. This configuration file is very similar in purpose to httpd.conf in Apache or nginx.conf in Nginx.<\/p>\n<pre>sudo mkdir \/etc\/caddy\r\nsudo chown -R root:www-data \/etc\/caddy\r\nsudo mkdir \/etc\/ssl\/caddy\r\nsudo chown -R www-data:root \/etc\/ssl\/caddy\r\nsudo chmod 0770 \/etc\/ssl\/caddy\r\nsudo touch \/etc\/caddy\/Caddyfile\r\nsudo mkdir \/var\/www\r\nsudo chown www-data: \/var\/www\r\n\r\n<\/pre>\n<h2 id=\"server-configuration\">SystemD Configuration<\/h2>\n<p>We also need to create a new SystemD configuration script:<\/p>\n<pre>sudo nano \/lib\/systemd\/system\/caddy.service<\/pre>\n<pre>[Unit]\r\nDescription=Caddy HTTP\/2 web server\r\nDocumentation=https:\/\/caddyserver.com\/docs\r\nAfter=network-online.target\r\nWants=network-online.target\r\n\r\n[Service]\r\nRestart=on-failure\r\nStartLimitInterval=86400\r\nStartLimitBurst=5\r\n\r\nUser=www-data\r\nGroup=www-data\r\n; Letsencrypt-issued certificates will be written to this directory.\r\nEnvironment=CADDYPATH=\/etc\/ssl\/caddy\r\n\r\nExecStart=\/usr\/local\/bin\/caddy -log stdout -agree=true -conf=\/etc\/caddy\/Caddyfile -root=\/var\/tmp\r\nExecReload=\/bin\/kill -USR1 $MAINPID\r\n\r\nLimitNOFILE=1048576\r\nLimitNPROC=64\r\n\r\nPrivateTmp=true\r\nPrivateDevices=true\r\nProtectHome=true\r\nProtectSystem=full\r\nReadWriteDirectories=\/etc\/ssl\/caddy\r\n\r\n; The following additional security directives only work with systemd v229 or later.\r\n; They further retrict privileges that can be gained by caddy. Uncomment if you like.\r\n; Note that you may have to add capabilities required by any plugins in use.\r\n;CapabilityBoundingSet=CAP_NET_BIND_SERVICE\r\n;AmbientCapabilities=CAP_NET_BIND_SERVICE\r\n;NoNewPrivileges=true\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<h2>Enable Caddy to start on boot:<\/h2>\n<pre>sudo systemctl enable caddy.service<\/pre>\n<h2 id=\"testing-php\">Testing Caddy<\/h2>\n<p>For testing purposes, we will create a test HTML file:<\/p>\n<pre>sudo mkdir -p \/var\/www\/my-domain.com\r\nsudo echo \"Caddy\" &gt; \/var\/www\/my-domain.com\/index.html\r\nsudo chown -R www-data: \/var\/www\/my-domain.com\r\n<\/pre>\n<p>and add our domain to the Caddy configuration file.<\/p>\n<pre>sudo nano \/etc\/caddy\/Caddyfile<\/pre>\n<pre>my-domain.com {\r\n    root \/var\/www\/my-domain.com\r\n}\r\n<\/pre>\n<p>Start Caddy with the following command:<\/p>\n<pre>sudo systemctl start caddy.service<\/pre>\n<p>You can now access your domain at <code>https:\/\/my-domain.com<\/code>.<\/p>\n<p>For more information about how to manage your Caddy web server, please refer to the <a href=\"https:\/\/caddyserver.com\/docs\" target=\"_blank\" rel=\"noopener\">Caddy documentation<\/a>.<\/p>\n<hr \/>\n<p>Of course, you don\u2019t have to do any of this if you use one of our <a href=\"https:\/\/linuxhostsupport.com\/server-setup-optimization.html\" target=\"_blank\" rel=\"noopener\">Server Setup and Optimization Services<\/a>, in which case you can simply ask our expert Linux admins to <strong>install Caddy<\/strong> on your server for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span><\/strong>. If you liked this post, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p><div id=\"linux-832214414\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which supports Virtual hosting, HTTP\/2, IPv6, Markdown, WebSockets, FastCGI, automatic HTTPS via Let&#8217;s Encrypt, templates and more. This guide should work on other Linux VPS systems as well but was tested [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":48,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[19,79,20],"class_list":["post-47","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-caddy","tag-linux-host-support","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install Caddy on Ubuntu 16.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Caddy on Ubuntu 16.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-22T12:45:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-25T12:16:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to install Caddy on Ubuntu 16.04\",\"datePublished\":\"2017-03-22T12:45:35+00:00\",\"dateModified\":\"2018-01-25T12:16:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\"},\"wordCount\":341,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg\",\"keywords\":[\"caddy\",\"Linux host support\",\"ubuntu\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\",\"name\":\"How to install Caddy on Ubuntu 16.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg\",\"datePublished\":\"2017-03-22T12:45:35+00:00\",\"dateModified\":\"2018-01-25T12:16:32+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg\",\"width\":1200,\"height\":600,\"caption\":\"install caddy on ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Caddy on Ubuntu 16.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Caddy on Ubuntu 16.04 | LinuxHostSupport","description":"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which","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:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/","og_locale":"en_US","og_type":"article","og_title":"How to install Caddy on Ubuntu 16.04 | LinuxHostSupport","og_description":"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2017-03-22T12:45:35+00:00","article_modified_time":"2018-01-25T12:16:32+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to install Caddy on Ubuntu 16.04","datePublished":"2017-03-22T12:45:35+00:00","dateModified":"2018-01-25T12:16:32+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/"},"wordCount":341,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg","keywords":["caddy","Linux host support","ubuntu"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/","name":"How to install Caddy on Ubuntu 16.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg","datePublished":"2017-03-22T12:45:35+00:00","dateModified":"2018-01-25T12:16:32+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial, we will show you how to install Caddy on a Ubuntu 16.04 VPS. Caddy is a modern, general-purpose, multi-platform web server which","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2017\/03\/how-to-install-caddy-on-ubuntu-16-04.jpg","width":1200,"height":600,"caption":"install caddy on ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-caddy-on-ubuntu-16-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Caddy on Ubuntu 16.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions\/383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/48"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}