mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
added static-only mode
This commit is contained in:
parent
eb3a62c932
commit
54475c9e7c
2 changed files with 96 additions and 6 deletions
20
nginx.conf
20
nginx.conf
|
@ -3,11 +3,19 @@ server {
|
|||
listen [::]:4443;
|
||||
server_name uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion;
|
||||
|
||||
root /srv/darknet-onion-webring/www/;
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
|
||||
}
|
||||
index index.php;
|
||||
root /srv/darknet-onion-webring/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 :
|
||||
#
|
||||
#location /index.php {
|
||||
# return 404;
|
||||
#}
|
||||
# index static.php;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue