21 lines
594 B
Plaintext
21 lines
594 B
Plaintext
add_header Onion-Location http://wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
add_header X-I2P-Location http://vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p$request_uri;
|
|
|
|
root /var/www/dokuwiki;
|
|
index index.php index.html index.htm;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include /etc/nginx/snippets/fastcgi.conf;
|
|
}
|
|
|
|
location ~ /(data|conf|bin|inc|vendor)/ {
|
|
deny all;
|
|
}
|