The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: mpd doesnt start if I add a secondary site to nginx
#1
Hello,

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


Messages In This Thread
mpd doesnt start if I add a secondary site to nginx - by Mwoua - 08-18-2020, 09:19 PM

Forum Jump: