<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cameron Wilby</title>
    <description>The latest articles on DEV Community by Cameron Wilby (@cwilby).</description>
    <link>https://dev.to/cwilby</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F15188%2F30e4b690-a472-4d0d-9d1c-76ebcabc0f22.jpeg</url>
      <title>DEV Community: Cameron Wilby</title>
      <link>https://dev.to/cwilby</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cwilby"/>
    <language>en</language>
    <item>
      <title>Automated local HTTPS environment with Traefik</title>
      <dc:creator>Cameron Wilby</dc:creator>
      <pubDate>Sat, 18 Jan 2020 10:10:31 +0000</pubDate>
      <link>https://dev.to/cwilby/local-traefik-v2-environment-with-https-4m7g</link>
      <guid>https://dev.to/cwilby/local-traefik-v2-environment-with-https-4m7g</guid>
      <description>&lt;p&gt;&lt;a href="https://doc.traefik.io"&gt;Traefik&lt;/a&gt; is an open-source edge router that intelligently routes incoming HTTP and TCP traffic to services that it's able to find dynamically.&lt;/p&gt;

&lt;p&gt;It natively integrates with service providers like Kubernetes, Docker, Amazon ECS, and Azure Service Fabric making it incredibly versatile.  &lt;/p&gt;

&lt;p&gt;This means you can start your Docker containers with a few labels specifying the URL (e.g. &lt;code&gt;https://foo.test&lt;/code&gt;) and Traefik will do the heavy lifting of routing HTTP requests it receives matching that URL to that container.&lt;/p&gt;

&lt;p&gt;To go further, it can also manage creating and renewing LetsEncrypt certificates! 🤯&lt;/p&gt;

&lt;p&gt;I wanted to share a project I created on GitHub to get started with a local Traefik environment to serve local containers via HTTPS and named domains.  As it's intended for a local environment and you likely don't own &lt;code&gt;traefik.test&lt;/code&gt;, you'll need &lt;a href="https://github.com/FiloSottile/mkcert"&gt;&lt;code&gt;mkcert&lt;/code&gt;&lt;/a&gt; to create HTTPS certificates signed by your very own local certificate authority.  &lt;/p&gt;

&lt;p&gt;You can learn more about Traefik through their documentation &lt;a href="https://docs.traefik.io/"&gt;here&lt;/a&gt;, which is a fun read and informative when you're ready to move away from localhost.&lt;/p&gt;

&lt;p&gt;See you on GitHub!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/cwilby/simple-local-traefik"&gt;https://github.com/cwilby/simple-local-traefik&lt;/a&gt;&lt;/p&gt;

</description>
      <category>traefik</category>
      <category>devops</category>
      <category>networking</category>
      <category>security</category>
    </item>
  </channel>
</rss>
