Hello,
I'm trying to host a secondary website on rasapberry, so I uncommented the line
in the file /etc/nginx/nginx.conf
and added my sites in sites-availables and linked to it in sites enables
If i reset nginx (systemctl restart nginx) everything works fine, I cant access both moode on port 80, and my website on port 8002
However, when I restart my raspberry, there is an mpd error:
CPU scheduling priority is out of range, ignoring: 3
So moode doesnt work anymore.
How can I add a secondary website without breaking mpd?
My secondary website conf file is pretty basic:
I'm trying to host a secondary website on rasapberry, so I uncommented the line
Code:
include /etc/nginx/sites-enabled/*;
in the file /etc/nginx/nginx.conf
and added my sites in sites-availables and linked to it in sites enables
If i reset nginx (systemctl restart nginx) everything works fine, I cant access both moode on port 80, and my website on port 8002
However, when I restart my raspberry, there is an mpd error:
CPU scheduling priority is out of range, ignoring: 3
So moode doesnt work anymore.
How can I add a secondary website without breaking mpd?
My secondary website conf file is pretty basic:
Code:
server {
listen 8002;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# serve media files
location /static {
alias /media/data/mypro/staticfiles;
}
location / {
proxy_pass http://unix:/media/data/mypro/mypro.sock;
}
}