feat(wpcarro/blog): Nginx Virtual Host (note to self)

Making `curl` requests to virtual hosts.

Change-Id: I9516ac22c5e2a46cadfe5f8abee06c27718f1069
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7298
Autosubmit: wpcarro <wpcarro@gmail.com>
Reviewed-by: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2022-11-14 09:56:15 -08:00 committed by clbot
parent c725838ab9
commit 2a4768d497
2 changed files with 14 additions and 0 deletions

View file

@ -99,4 +99,11 @@
content = ./posts/nix-env-note.md;
draft = false;
}
{
key = "nginx-virtual-host-note";
title = "Nginx Virtual Host (note to self)";
date = 1668448541;
content = ./posts/nginx-curl-note.md;
draft = false;
}
]

View file

@ -0,0 +1,7 @@
## Note to Self
Use the following to make requests to Nginx virtual hosts from the host itself:
```shell
$ curl -H 'Host: trace.website.internal' localhost:8000
```