28 lines
805 B
Plaintext
28 lines
805 B
Plaintext
add_header Onion-Location http://wm.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
add_header X-I2P-Location http://vernzzwbnjy6ro2zg5rxgo7eylkcyi6zuf4hhvsdbwvvxa3grsxq.b32.i2p$request_uri;
|
|
root /var/www/roundcube/;
|
|
index index.php index.html index.htm;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php;
|
|
}
|
|
|
|
location ~ \.php(?:$|/) {
|
|
try_files $uri = 404;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
include snippets/fastcgi.conf;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_param HTTPS on;
|
|
fastcgi_param modHeadersAvailable true;
|
|
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
|
fastcgi_intercept_errors on;
|
|
fastcgi_buffers 4 256k;
|
|
fastcgi_busy_buffers_size 256k;
|
|
}
|
|
|
|
|
|
if ($badagent) {
|
|
return 403;
|
|
}
|