Copied the config from Luci on nginx ssl - uwsgi connect error just to see if it gets me anywhere.
Restarted nginx
, now I get a "502 Bad Gateway" page when visiting http://192.168.1.1/cgi-bin/luci/
.
This is what nginx error log says this:
2020/05/02 08:29:21 [crit] 2402#0: *6 connect() to unix:////var/run/uwsgi.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.116, server: localhost, request: "GET /cgi-bin/luci/ HTTP/1.1", upstream: "uwsgi://unix:////var/run/uwsgi.sock:", host: "192.168.1.1", referrer: "http://192.168.1.1/"
No uwsgi.sock
?