背景 同一のサーバ上で複数サービスをホストする際に普段 nginx または apache を使いましたが、設定を調整するたびに何を書いたかなかなか覚えられませんので。。 そこで、 Traefik を使えばいいです! Traefik とは 公式 HP より: An open-source reverse proxy and load balancer for HTTP and TCP-based applications that is easy, dynamic, automatic, fast, full-featured, production proven, provides metrics, and integrates with every major cluster technology... No wonder it's so popular! Traefik は、HTTP・
![Traefik さえ使えば、nginx がリバースプロキシとして動くのは不要! - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/6e0a3a403cadad2788c473fc84cc6f13200067ae/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Fadvent-calendar-ogp-background-7940cd1c8db80a7ec40711d90f43539e.jpg%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9VHJhZWZpayUyMCVFMyU4MSU5NSVFMyU4MSU4OCVFNCVCRCVCRiVFMyU4MSU4OCVFMyU4MSVCMCVFMyU4MCU4MW5naW54JTIwJUUzJTgxJThDJUUzJTgzJUFBJUUzJTgzJTkwJUUzJTgzJUJDJUUzJTgyJUI5JUUzJTgzJTk3JUUzJTgzJUFEJUUzJTgyJUFEJUUzJTgyJUI3JUUzJTgxJUE4JUUzJTgxJTk3JUUzJTgxJUE2JUU1JThCJTk1JUUzJTgxJThGJUUzJTgxJUFFJUUzJTgxJUFGJUU0JUI4JThEJUU4JUE2JTgxJUVGJUJDJTgxJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMzQTNDM0MmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz01OTFiNDIxNTVkZTc0NzY4M2QyMjgyZTVmYzk1MjMxNg%26mark-x%3D120%26mark-y%3D96%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9OTcyJnR4dD0lNDBhZHdpbiZ0eHQtY29sb3I9JTIzM0EzQzNDJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9YWViNTczYjU4MmE3ZDY2YTcyMDQ1Nzc4YzgyZWEyOGI%26blend-x%3D120%26blend-y%3D445%26blend-mode%3Dnormal%26txt64%3DaW4g5qCq5byP5Lya56S-cW5vdGU%26txt-width%3D972%26txt-clip%3Dend%252Cellipsis%26txt-color%3D%25233A3C3C%26txt-font%3DHiragino%2520Sans%2520W6%26txt-size%3D36%26txt-x%3D134%26txt-y%3D546%26s%3D05b097108b46fbf83cae1354cb24be5a)