diff options
author | William Carroll <wpcarro@gmail.com> | 2022-11-14T17·56-0800 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-11-14T18·29+0000 |
commit | 2a4768d49796911836b15e937249c33ee73e6cc4 (patch) | |
tree | f67388d005fd1f542764b61f5d5ea01fdab6e557 /users/wpcarro/website/blog/posts | |
parent | c725838ab9ebc46c901c80ee659af267f969b21d (diff) |
feat(wpcarro/blog): Nginx Virtual Host (note to self) r/5284
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
Diffstat (limited to 'users/wpcarro/website/blog/posts')
-rw-r--r-- | users/wpcarro/website/blog/posts/nginx-curl-note.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/users/wpcarro/website/blog/posts/nginx-curl-note.md b/users/wpcarro/website/blog/posts/nginx-curl-note.md new file mode 100644 index 000000000000..03937868ac20 --- /dev/null +++ b/users/wpcarro/website/blog/posts/nginx-curl-note.md @@ -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 +``` |