added static-only mode

This commit is contained in:
root 2025-01-27 20:51:45 +01:00
parent eb3a62c932
commit 54475c9e7c
2 changed files with 96 additions and 6 deletions

View file

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