aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-11-29-nginx-referrer-ban-list.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-04-01 22:01:32 -0500
committerChristian Cleberg <hello@cleberg.net>2025-04-01 22:01:32 -0500
commitdb9a372547a71279402a59ac66a29e15b65ec841 (patch)
tree9c6caefdcbffe39e3fa6ec3835a27ddc863dadcf /content/blog/2022-11-29-nginx-referrer-ban-list.org
parent0325ac27aeb7c7ee1b205b3b33eecd9cc1503a41 (diff)
downloadcleberg.net-db9a372547a71279402a59ac66a29e15b65ec841.tar.gz
cleberg.net-db9a372547a71279402a59ac66a29e15b65ec841.tar.bz2
cleberg.net-db9a372547a71279402a59ac66a29e15b65ec841.zip
migrate back to cleberg.net
Diffstat (limited to 'content/blog/2022-11-29-nginx-referrer-ban-list.org')
-rw-r--r--content/blog/2022-11-29-nginx-referrer-ban-list.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/blog/2022-11-29-nginx-referrer-ban-list.org b/content/blog/2022-11-29-nginx-referrer-ban-list.org
index 27c39fb..698196a 100644
--- a/content/blog/2022-11-29-nginx-referrer-ban-list.org
+++ b/content/blog/2022-11-29-nginx-referrer-ban-list.org
@@ -101,7 +101,7 @@ In order to test the results, let's curl the contents of our site. To
start, I'll curl the site normally:
#+begin_src sh
-curl https://cmc.pub
+curl https://cleberg.net
#+end_src
The HTML contents of the page come back successfully:
@@ -113,7 +113,7 @@ The HTML contents of the page come back successfully:
Next, let's include a banned referrer:
#+begin_src sh
-curl --referer https://news.ycombinator.com https://cmc.pub
+curl --referer https://news.ycombinator.com https://cleberg.net
#+end_src
This time, I'm met with a 403 Forbidden response page. That means we are