aboutsummaryrefslogtreecommitdiff
path: root/content/blog/2022-11-29-nginx-referrer-ban-list.org
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-04-01 22:01:32 -0500
committerChristian Cleberg <[email protected]>2025-04-01 22:01:32 -0500
commit80bc8747e9d8e47aeceab2a02c4510b35c408d7d (patch)
tree9c6caefdcbffe39e3fa6ec3835a27ddc863dadcf /content/blog/2022-11-29-nginx-referrer-ban-list.org
parent9061191da87f742248a9453505f99f70c8783cac (diff)
downloadcleberg.net-80bc8747e9d8e47aeceab2a02c4510b35c408d7d.tar.gz
cleberg.net-80bc8747e9d8e47aeceab2a02c4510b35c408d7d.tar.bz2
cleberg.net-80bc8747e9d8e47aeceab2a02c4510b35c408d7d.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