Sat Nov 14 07:50:35 IST 2026
App started from the baseline copy in Production with the committed appsettings (AllowedHosts=portal.example.test from appsettings.Production.json):
curl -s -D - -o /dev/null -H "Host: 127.0.0.1:16310" http://127.0.0.1:16310/health -> HTTP/1.1 400 Bad Request
curl -s -D - -o /dev/null -H "Host: host.docker.internal:16310" http://127.0.0.1:16310/health -> HTTP/1.1 400 Bad Request
curl -s -D - -o /dev/null -H "Host: portal.example.test" http://127.0.0.1:16310/health -> HTTP/1.1 200 OK
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></ HEAD >
<BODY><h2>Bad Request - Invalid Hostname</h2>
<hr><p>HTTP Error 400. The request hostname is invalid.</p>
</BODY></HTML>
