I installed rTorrent with dietpi-launcher and got this error:
[25.03.2022 11:48:40] WebUI started.
[25.03.2022 11:48:40] Bad response from server: (200 [parsererror,getplugins]) SyntaxError: expected expression, got ‘<’
I’m using nginx as webserver. How can I fix this? Thank you in advance.
Specs: DietPi 8.2.2 (aarch64) on Raspberry Pi 4 4GB.
Nginx config:
#D I E T - P I
# /etc/nginx/sites-available/default
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
index index.php index.html index.htm index.nginx-debian.html;
server_name "$hostname";
include /etc/nginx/sites-dietpi/*.conf;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_pass php;
}
}