<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>grugrut</author_name>
  <author_url>https://blog.hatena.ne.jp/grugrut/</author_url>
  <blog_title>ぐるっとぐりっど</blog_title>
  <blog_url>https://grugrut.hatenablog.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>docker</anon>
  </categories>
  <description>サーバを再構築するついでに、これまでサーバに直nginxなり各種サービスを入れていたのを、Dockerコンテナに載せてみることにした。プライベートなページもいくつかあったり、監視ソフトの管理画面もあるので、その辺隠しておきたいので、nginxでリバースプロキシにして、BASIC認証でなんちゃって防御してるんだけど、ぐぐってもnginxでリバースプロキシを作る方法(というか、他のコンテナと通信する方法)がいまいち出てこなかったので、調べてなんとかした。 構成 こんなかんじ nginxがコンテナで動作していて、TCP80とホストのTCP80を対応させておく /grafanaにアクセスされたら、gr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgrugrut.hatenablog.jp%2Fentry%2F2017%2F10%2F15%2F214322&quot; title=&quot;Dockerのコンテナ間で通信させてリバースプロキシを作る - ぐるっとぐりっど&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/g/grugrut/20171015/20171015210153.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-15 21:43:22</published>
  <title>Dockerのコンテナ間で通信させてリバースプロキシを作る</title>
  <type>rich</type>
  <url>https://grugrut.hatenablog.jp/entry/2017/10/15/214322</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
