4 ms·
I had the same problem so I went through the nginx.conf file supplied with PiUi and compared it to the default one in /etc/nginx/nginx.conf. In the default one
by jaws84 14y ago
I had the same problem so I went through the nginx.conf file supplied with PiUi and compared it to the default one in /etc/nginx/nginx.conf.
In the default one there's an _include_ line on line 71. This pulls in what ever .conf files from /etc/nginx/conf.d/
I then copied the lines 40-59 from piui/nginx/nginx.conf to its own file /etc/nginx/conf.d/piui.conf
and restarted nginx.
Now when I type in the IP of my Pi in my mobile webbrowser I get in to the PiUi site.
However this way does not provide the small graphics components in the UI components. Any ideas on that?
- Sevik 14y agoThank you. It seems that I installed another version of nginx. With the apt-get install it worked perfectly. I replaced the whole conf. file.