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-lantern/www/; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; } index index.php; # optional read-only static php file without the searchbar, to display all links by default : # index static.php; }