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