From 35c37df6b1ecc15b0ed2310ba7174a8decea05de Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 2 Jun 2025 02:03:25 -0400 Subject: content/articles/site-backend.md: use new vanity onion address --- content/articles/site-backend.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/content/articles/site-backend.md b/content/articles/site-backend.md index 0700bef..5d5b199 100644 --- a/content/articles/site-backend.md +++ b/content/articles/site-backend.md @@ -297,7 +297,7 @@ redirects removed: Header append "Access-Control-Allow-Methods" "POST, GET, HEAD, OPTIONS" # expose onion service - Header set "Onion-Location" "http://pabstordmsrzhushs5drpb5mtb2ml56iyacidsjfebl2jlss65rlbsqd.onion%{REQUEST_URI}s" + Header set "Onion-Location" "http://pablotronfils76sk6pwvyoosvfjbhxe3sn4c654e4na4szidbnbqdyd.onion%{REQUEST_URI}s" # cache images, stylesheets, and javascript for 1 year @@ -546,7 +546,7 @@ The generated [HTML][] has been modified to: This site is mirrored at the following [onion address][.onion]: -[http://pabstordmsrzhushs5drpb5mtb2ml56iyacidsjfebl2jlss65rlbsqd.onion/][pabstor] +[http://pablotronfils76sk6pwvyoosvfjbhxe3sn4c654e4na4szidbnbqdyd.onion/][pablotron.onion] **Note:** The [onion address][.onion] will only work for [Tor][]-enabled browsers like [Tor Browser][]. @@ -564,11 +564,11 @@ Configuration Notes: ```nginx server { - listen unix:/var/run/tor/pabstor.sock; - server_name pabstordmsrzhushs5drpb5mtb2ml56iyacidsjfebl2jlss65rlbsqd.onion; - root /store/www/pabstordmsrzhushs5drpb5mtb2ml56iyacidsjfebl2jlss65rlbsqd.onion/htdocs; + listen unix:/var/run/tor/pablotron.sock; + server_name pablotronfils76sk6pwvyoosvfjbhxe3sn4c654e4na4szidbnbqdyd.onion; + root /store/www/pablotronfils76sk6pwvyoosvfjbhxe3sn4c654e4na4szidbnbqdyd.onion/htdocs; index index.html; - access_log /var/log/nginx/pabstor-access.log; + access_log /var/log/nginx/pablotron-access.log; # enable compression, compress common types gzip on; @@ -576,13 +576,13 @@ server { } ``` -[Download][pabstor.conf] +[Download][pablotron.onion.conf] [Tor][] configuration: ```ini -HiddenServiceDir /var/lib/tor/pabstor/ -HiddenServicePort 80 unix:/var/run/tor/pabstor.sock +HiddenServiceDir /var/lib/tor/pablotron/ +HiddenServicePort 80 unix:/var/run/tor/pablotron.sock ``` References: @@ -887,7 +887,7 @@ published. "Service that can only be accessed via the Tor network." [.onion]: https://en.wikipedia.org/wiki/.onion "Top-level domain for onion services." -[pabstor]: http://pabstordmsrzhushs5drpb5mtb2ml56iyacidsjfebl2jlss65rlbsqd.onion +[pablotron.onion]: http://pablotronfils76sk6pwvyoosvfjbhxe3sn4c654e4na4szidbnbqdyd.onion/ "Onion service URL for this site." [nginx]: https://en.wikipedia.org/wiki/Nginx "NGINX web server." @@ -895,8 +895,8 @@ published. "Unix domain socket." [tcp port]: https://en.wikipedia.org/wiki/Transmission_Control_Protocol#TCP_ports "TCP port." -[pabstor.conf]: /files/articles/site-backend/pabstor.conf.txt - "Download Nginx configuration for onion service" +[pablotron.onion.conf]: /files/articles/site-backend/pablotron.onion.conf.txt + "Download Nginx configuration for onion address." [mkp224o]: https://github.com/cathugger/mkp224o/ "Vanity .onion address generator" [onion-service-setup]: https://community.torproject.org/onion-services/setup/ -- cgit v1.2.3