Azure Container Apps における Ingress の構成パターン例 1 (公開 Web/API)
はじめに
この記事は、Azure Container Apps における Ingress の構成パターンを実際に構築してみて触ってみた記録です。
上記記事よりまずは一番シンプルなパターンをとして①を取り上げます。
構成
作成した環境は以下の通りです。今回は上記mermaidに含まれる(任意)のコンポーネントは省略しています。
Container Apps Environment
aca-env-without-vnet
カスタムVNetを用いずに作成し、Public Network Access は Enabled とします。
静的 IPとして 130.33.219.240 が割り当てられます。この IP ならびに、Env に到達するための External Loadbalancer は、Azure マネージドのものとなるため、
ユーザーのサブスクリプション配下にリソースとして登録されることはありません。


各プロパティは cli からも確認できます。
$ az containerapp env show -g zenn-aca-without-vnet -n aca-env-without-vnet \
--query "properties.{defaultDomain: defaultDomain, staticIp: staticIp, publicNetworkAccess: publicNetworkAccess}" \
-o json
{
"defaultDomain": "whitemoss-043fed62.japaneast.azurecontainerapps.io",
"publicNetworkAccess": "Enabled",
"staticIp": "130.33.219.240"
}
Container Apps
aca-without-vnet
コンテナイメージはクイックスタートコンテナ(mcr.microsoft.com/k8se/quickstart:latest)を利用しています。


アプリケーションURLは https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io となりました。
アプリ名と Envの defaultDomain の組み合わせです。 whitemoss-043fed62 が Env の unique identifier となります。
参考
Azure Container Apps でアプリケーションを接続する | Microsoft Learn

関連しそうなプロパティを確認します。
最新リビジョンに対する FQDN があるほか、送信IPアドレスとして 70 件の IP が割り当てられていることが分かります。
az containerapp show -g zenn-aca-without-vnet -n aca-without-vnet \
--query "properties.{environmentId: environmentId,
configuration: {ingress: configuration.ingress},
latestRevisionFqdn: latestRevisionFqdn,
outboundIpAddresses: outboundIpAddresses}" \
-o json
{
"configuration": {
"ingress": {
"additionalPortMappings": null,
"allowInsecure": false,
"clientCertificateMode": null,
"corsPolicy": null,
"customDomains": null,
"exposedPort": 0,
"external": true,
"fqdn": "aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io",
"ipSecurityRestrictions": null,
"stickySessions": null,
"targetPort": 80,
"targetPortHttpScheme": null,
"traffic": [
{
"latestRevision": true,
"weight": 100
}
],
"transport": "Auto"
}
},
"environmentId": "/subscriptions/<サブスクリプションID>/resourceGroups/zenn-aca-without-vnet/providers/Microsoft.App/managedEnvironments/aca-env-without-vnet",
"latestRevisionFqdn": "aca-without-vnet--i416lq8.whitemoss-043fed62.japaneast.azurecontainerapps.io",
"outboundIpAddresses": [
"20.48.86.170",
"20.48.86.160",
"135.149.20.219",
・・・//省略 合計 70件のパブリックIPが含まれる。
]
}
アプリケーションへのルーティングの確認
Env 外のクライアントからのアクセス
aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io に対するHTTPリクエストは Env の staticIp である 130.33.219.240 に解決されてアプリケーションへ到達します。

$ curl -v https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io/
* Trying 130.33.219.240:443...
* Connected to aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io (130.33.219.240) port 443 (#0)
<省略>
> GET / HTTP/2
> Host: aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
> user-agent: curl/7.81.0
> accept: */*
>
< HTTP/2 200
< accept-ranges: bytes
< content-length: 4332
< content-type: text/html; charset=utf-8
< last-modified: Mon, 13 Oct 2025 15:12:40 GMT
< date: Wed, 07 Jan 2026 01:41:57 GMT
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Azure Container Apps</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<省略>
</html>
* Connection #0 to host aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io left intact
Env 内に 別の App として aca-without-vnet-2 を作成した場合、https://aca-without-vnet-2.whitemoss-043fed62.japaneast.azurecontainerapps.io/ として公開されます。

aca-without-vnet-2 には Nginx イメージをデプロイした様子
また、latestRevisionFqdn など、リビジョン固有のURL https://aca-without-vnet--i416lq8.whitemoss-043fed62.japaneast.azurecontainerapps.io/ からアクセスすることもできます。
なお、存在しない App 名やリビジョンを含むをサブドメインに指定した場合、404 エラーが応答されます。
いずれの場合も解決される Public IP アドレスは 130.33.219.240 となります。
$ curl -v https://notexist.whitemoss-043fed62.japaneast.azurecontainerapps.io/
* Trying 130.33.219.240:443...
* Connected to notexist.whitemoss-043fed62.japaneast.azurecontainerapps.io (130.33.219.240) port 443 (#0)
<省略>
> GET / HTTP/2
> Host: notexist.whitemoss-043fed62.japaneast.azurecontainerapps.io
> user-agent: curl/7.81.0
> accept: */*
>
< HTTP/2 404
< content-type: text/html; charset=utf-8
< content-length: 1946
< date: Wed, 07 Jan 2026 01:47:17 GMT
<
<!DOCTYPE html>
<html>
<head>
<title>Azure Container App - Unavailable</title>
<省略>
<body bgcolor="#00abec">
<div id="feature">
<div id="content">
<h1 id="unavailable">Error 404 - This Container App is stopped or does not exist.</h1>
<p id="tryAgain">The Container App you have attempted to reach is currently stopped or does not exist.</p>
<p id="toAdmin">If you are the Container App administrator, please visit <a href="https://portal.azure.com/">Azure Portal</a>.</p>
</div>
</div>
</body>
</html>
一方で Envの defaultDomain である whitemoss-043fed62.japaneast.azurecontainerapps.io そのものは名前解決できません。
$ nslookup whitemoss-043fed62.japaneast.azurecontainerapps.io 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
*** Can't find whitemoss-043fed62.japaneast.azurecontainerapps.io: No answer
これはどういうことかというと *.whitemoss-043fed62.japaneast.azurecontainerapps.io. A 130.33.219.240 といったワイルドカード A レコードが存在することが推測されます。
ワイルドカード A レコードの存在についてCopilotとのやり取り抜粋
了解です。最終結論(ワイルドカード A は存在/ワイルドカード CNAME は存在せず)に至った根拠を、観測結果と DNS の規則に基づいて簡潔にまとめます。
サマリー(根拠の流れ)
-
不存在ホスト名でも A が返る
dig +noall +answer doesnotexist.whitemoss-043fed62.japaneast.azurecontainerapps.io A
→ doesnotexist... 0 IN A 130.33.219.240
- 通常、該当レコードがなければ NXDOMAIN になります。
- にもかかわらず A レコード(130.33.219.240)が返る=
ワイルドカード DNS レコードがヒットしている典型的挙動。 - この時点で「ワイルドカード A または CNAME→A のいずれか」があることが確定。
-
特定ホスト名に CNAME は存在しない
dig -t cname aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
→ ANSWER: 0(CNAME の回答なし/NOERROR)
- 「個別 CNAME がない」ことが明確。
-
権威 DNS(Azure DNS)にワイルドカード CNAME を直接問い合わせても無回答
dig @ns1-35.azure-dns.com '*.whitemoss-043fed62.japaneast.azurecontainerapps.io' CNAME
→ ANSWER: 0(NOERROR、SOA のみ)
- 権威サーバが ゾーン定義上、ワイルドカード CNAME を持っていないと回答。
- 権威に対して CNAME が返らない=ゾーンに CNAME 系の定義なしと断定可能。
- 総合判断
- ①で「ワイルドカード系がある」のは確定。
- ②と③で「CNAME は個別もワイルドカードも存在しない」と確認済み。
- よって残る可能性は ワイルドカード A のみ。
- 具体的には
*.whitemoss-043fed62.japaneast.azurecontainerapps.io. A 130.33.219.240と同等の設定がある。
結論(再掲)
- ワイルドカード CNAME:なし(権威 DNS への問い合わせで無回答)
- ワイルドカード A:あり(不存在名でも A が返る挙動から確定)
- したがって、配下の任意ホストが 130.33.219.240 に解決されるのは、
ワイルドカード A の設定によるもの。
必要なら、このワイルドカード A と ACA の L7(Host ヘッダ)ルーティングの関係も図解します。

また、IPアドレス直指定では 404 となり、Host ヘッダーを用いることでアプリケーションへのルーティングが行われることも確認できます。
$ curl -I 130.33.219.240
HTTP/1.1 404 Not Found
content-type: text/html; charset=utf-8
content-length: 1946
date: Wed, 07 Jan 2026 03:01:08 GMT
$ curl -I 130.33.219.240 -H "Host: aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io"
HTTP/1.1 301 Moved Permanently
location: https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io/
date: Wed, 07 Jan 2026 03:01:02 GMT
transfer-encoding: chunked
参考
ホスト名の保持 - Azure Architecture Center | Microsoft Learn
Web プラットフォームがホスト名を使用する理由
アプリケーションからのアウトバウンドとEnv内への通信
次にアプリケーションからのアウトバウンド通信を確認していきます。
アプリ実装するのは大変なので先ほど用意した Nginx コンテナにコンソール接続して試していきます。

以下のようなコマンド群を実行してみます。
apt update -y
apt install dnsutils -y
echo "---- check global IP ----"
curl -s https://ipinfo.io/ip
echo "---- global fqdn ----"
nslookup aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
dig aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
curl -v https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io/
echo "---- internal fqdn ----"
nslookup aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
dig aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
curl -v https://aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io/
echo "---- Removing the suffix ----"
nslookup aca-without-vnet
dig aca-without-vnet
curl -v https://aca-without-vnet
curl -v http://aca-without-vnet
送信元 Public IP アドレス
アプリケーションの outboundIpAddresses プロパティに割り当てられた値の中から利用されていることが分かります。
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# curl -s https://ipinfo.io/ip
48.218.81.17
Env 内のアプリケーションへのエクスターナル(デフォルト) FQDN への疎通
aca-without-vnet-2 から https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io への通信経路です。
名前解決の結果は 130.33.219.240 となり Env 外 からのアクセスの場合と同様です。
名前解決に用いるDNSは 127.0.0.11 となっています。
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# nslookup aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
Address: 130.33.219.240
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# dig aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
; <<>> DiG 9.20.15-1~deb13u1-Debian <<>> aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31846
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 7282ed0496a99852 (echoed)
;; QUESTION SECTION:
;aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io. IN A
;; ANSWER SECTION:
aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io. 30 IN A 130.33.219.240
;; Query time: 0 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Wed Jan 07 03:25:37 UTC 2026
;; MSG SIZE rcvd: 191
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# curl -v https://aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io/
* Host aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io:443 was resolved.
* IPv6: (none)
* IPv4: 130.33.219.240
* Trying 130.33.219.240:443...
<省略>
> GET / HTTP/2
> Host: aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< accept-ranges: bytes
< content-length: 4332
< content-type: text/html; charset=utf-8
< last-modified: Mon, 13 Oct 2025 15:12:40 GMT
< date: Wed, 07 Jan 2026 03:25:37 GMT
<省略>
* Connection #0 to host aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io left intact
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
Env 内のアプリケーションへのインターナル(.internal.サブドメイン) FQDN への疎通
aca-without-vnet-2 から https://aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io への通信経路です。
※ .internal.付きの FQDN は、ingress.external が true の場合も使えます。
名前解決の結果は 100.100.0.210 となり Env 外 からとは異なり Private IP アドレスが得られます。
200 OK が応答され、実際にアクセスできることも確認できます。
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# nslookup aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
;; Got recursion not available from 127.0.0.11
Server: 127.0.0.11
Address: 127.0.0.11#53
Name: aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
Address: 100.100.0.210
;; Got recursion not available from 127.0.0.11
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# dig aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
; <<>> DiG 9.20.15-1~deb13u1-Debian <<>> aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40867
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 61c05fc3b520bb97 (echoed)
;; QUESTION SECTION:
;aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io. IN A
;; ANSWER SECTION:
aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io. 30 IN A 100.100.0.210
;; Query time: 4 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Wed Jan 07 03:25:52 UTC 2026
;; MSG SIZE rcvd: 209
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# curl -v https://aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io/
* Host aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io:443 was resolved.
* IPv6: (none)
* IPv4: 100.100.0.210
* Trying 100.100.0.210:443...
<省略>
> GET / HTTP/2
> Host: aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< accept-ranges: bytes
< content-length: 4332
< content-type: text/html; charset=utf-8
< last-modified: Mon, 13 Oct 2025 15:12:40 GMT
< date: Wed, 07 Jan 2026 03:25:52 GMT
<
<省略>
* Connection #0 to host aca-without-vnet.internal.whitemoss-043fed62.japaneast.azurecontainerapps.io left intact
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
Env 内のアプリケーションへの名前指定でのアクセス
aca-without-vnet-2 から http(s)://aca-without-vnet への通信経路です。
nslookup の結果から、「内部 DNS(Kubernetes/CNI のサービスDNS)」で名前解決が行われたことが分かります。
また、https (443ポート宛て)の通信は通らず、アプリケーションが Ingress 設定で公開している http (80ポート宛て)のみ疎通できました。
Copilot による解説
これは Azure Container Apps (ACA) 環境内の「内部 DNS(Kubernetes/CNI のサービスDNS)」で名前解決が行われたことを示しています。外部の *.azurecontainerapps.io → 130.33.219.240 とは別の経路です。
出力の読み解き
Server: 127.0.0.11
Address: 127.0.0.11#53
Name: aca-without-vnet.k8se-apps.svc.cluster.local
Address: 100.100.241.104
;; Got recursion not available from 127.0.0.11
① 127.0.0.11 とは?
コンテナ内の /etc/resolv.conf に設定される ローカルの DNS スタブ(コンテナランタイムが提供)。
ACA では内部的に CoreDNS(Kubernetes の DNS サービス) へ転送され、クラスター内の名前を解決します。
(コンテナから見えているのは 127.0.0.11 のスタブですが、最終的には CoreDNS が回答)
② aca-without-vnet.k8se-apps.svc.cluster.local
解決された FQDN は Kubernetes 標準のサービスドメイン:
<service-name>.<namespace>.svc.cluster.local
k8se-apps は ACA が利用する 名前空間(Env 内のアプリが属する共通 NS)を示唆。
つまり aca-without-vnet は Env 内の「Service(ClusterIP)」として公開されており、そのサービス名で到達できます。
③ Address: 100.100.241.104
これは ClusterIP(内部仮想ネットワークの IP)。
Env 内の別アプリ(aca-without-vnet-2)からは、外部のパブリック IP を経由せずに、Service 経由で内部到達しています。
④ Got recursion not available
再帰的な問い合わせ(recursive queries)が許可されていないという通知。
内部 DNS は クラスター内のゾーン(*.svc.cluster.local 等)に対する権威応答を返す設計で、外部名のフル再帰は行わない(もしくは制限)ため、このメッセージが出ます。
実害はありません。クラスター内名の解決は正しく機能しています。
何が起きているか(全体像)
外部向け:*.whitemoss-...azurecontainerapps.io → 130.33.219.240(ワイルドカード A)→ Ingress/L7 で振り分け。
内部向け:<app-name>.<namespace>.svc.cluster.local → ClusterIP (100.100.x.y)
→ Env 内アプリ間通信はこの 内部 DNS+Service で直接到達。
そのため、aca-without-vnet-2 から 別アプリ名(aca-without-vnet)での呼び出しが成功しているのは、
内部 Service 名の解決(Kubernetes DNS)を使っているからです。
確認ポイント(お手元でも見られます)
Shell# コンテナ内で DNS 設定の確認
cat /etc/resolv.conf
# 例:# nameserver 127.0.0.11
# search k8se-apps.svc.cluster.local svc.cluster.local cluster.local
# options ndots:5
# 内部名で到達
nslookup aca-without-vnet
nslookup aca-without-vnet.k8se-apps.svc.cluster.local
# 実接続(HTTP の例)
curl -H "Host: aca-without-vnet.whitemoss-043fed62.japaneast.azurecontainerapps.io" http://aca-without-vnet:80/
# ※ アプリが期待するポート/ヘッダに合わせて調整
search 行によって 短縮名(aca-without-vnet)→ FQDN に補完されます。
ndots の値により、FQDN かどうかの判断・探索順が変わります。
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# nslookup aca-without-vnet
;; Got recursion not available from 127.0.0.11
Server: 127.0.0.11
Address: 127.0.0.11#53
Name: aca-without-vnet.k8se-apps.svc.cluster.local
Address: 100.100.241.104
;; Got recursion not available from 127.0.0.11
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# dig aca-without-vnet
; <<>> DiG 9.20.15-1~deb13u1-Debian <<>> aca-without-vnet
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63372
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 3d46607b1f3decfd (echoed)
;; QUESTION SECTION:
;aca-without-vnet. IN A
;; AUTHORITY SECTION:
. 30 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2026010601 1800 900 604800 86400
;; Query time: 104 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Wed Jan 07 03:26:05 UTC 2026
;; MSG SIZE rcvd: 132
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# curl -v https://aca-without-vnet
* Host aca-without-vnet:443 was resolved.
* IPv6: (none)
* IPv4: 100.100.241.104
* Trying 100.100.241.104:443...
// HTTPS(443ポート)では疎通出来ず
^C
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/# curl -v http://aca-without-vnet
* Host aca-without-vnet:80 was resolved.
* IPv6: (none)
* IPv4: 100.100.241.104
* Trying 100.100.241.104:80...
* Connected to aca-without-vnet (100.100.241.104) port 80
* using HTTP/1.x
> GET / HTTP/1.1
> Host: aca-without-vnet
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< accept-ranges: bytes
< content-length: 4332
< content-type: text/html; charset=utf-8
< last-modified: Mon, 13 Oct 2025 15:12:40 GMT
< date: Wed, 07 Jan 2026 03:26:15 GMT
<
<省略>
* Connection #0 to host aca-without-vnet left intact
root@aca-without-vnet-2--0000002-5895d64787-c9g9t:/#
internalの場合とアプリ名指定の場合、いずれも Private IP での接続となりますが、
前者は SSL 通信可能、つまり SSL 終端を行うコンポーネントが要る経路
後者は SSL 通信不可、つまり前者とは経路が異なる。
といったことが分かりました。
参考
Troubleshooting ingress issues on Azure Container Apps -
“.internal.” FQDN versus “appname”
On Container Apps, you can make inter-cluster requests to other applications, which is called out in Domain names.The .internal. FQDN (eg. appname.internal.funnyname123abc.<region>.azurecontainerapps.io) can only be used to call between applications in the cluster. This will show as “limited to environment”. Routing through this method passes through Envoy proxies in the environment and stays in the environment.
You can call to another app within the environment - for example, curl -v myotherapp. This uses a helper proxy in the same pod that the application container is running in.
Calling to another app simply by its name is a nice helper. If you happen to notice issues calling to the upstream application in this manner and has been determined it is not application related, try using the .internal. FQDN of the upstream application instead.
また、いずれの場合の Private IP についても Host ヘッダを指定しない場合 404 エラーとなりました。
root@aca-without-vnet-2--0000002-5895d64787-9txpk:/# curl http://100.100.241.104 -I
HTTP/1.1 404 Not Found
content-type: text/html; charset=utf-8
content-length: 1946
date: Wed, 07 Jan 2026 05:33:16 GMT
root@aca-without-vnet-2--0000002-5895d64787-9txpk:/# curl http://100.100.0.210 -I
HTTP/1.1 404 Not Found
content-type: text/html; charset=utf-8
content-length: 1946
date: Wed, 07 Jan 2026 05:33:21 GMT
Discussion