From 56c7c319e1504803c2dd6abdee7bd2fbdfc28ac2 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Mar 2025 09:05:28 +0100 Subject: [PATCH] fixed the default nginx.conf and torrc configs --- nginx.conf | 4 +++- torrc | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index b5fb4fe..730bebb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,8 +2,10 @@ server { listen 4443; listen [::]:4443; server_name lantern.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion; + # if using the default torrc we provided, get the hostname from here: + # cat /var/lib/tor/lantern/hostname - root /srv/darknet-onion-webring/www/; + root /srv/darknet-lantern/www/; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; diff --git a/torrc b/torrc index 6f6d241..83c65dd 100644 --- a/torrc +++ b/torrc @@ -1 +1,3 @@ +HiddenServiceDir /var/lib/tor/lantern +HiddenServicePort 80 127.0.0.1:4443 SocksPort 127.0.0.1:9050