fixed the default nginx.conf and torrc configs

This commit is contained in:
root 2025-03-26 09:05:28 +01:00
parent 2e076599ff
commit 56c7c319e1
2 changed files with 5 additions and 1 deletions

View file

@ -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;

2
torrc
View file

@ -1 +1,3 @@
HiddenServiceDir /var/lib/tor/lantern
HiddenServicePort 80 127.0.0.1:4443
SocksPort 127.0.0.1:9050