02-10-2021, 06:36 PM
(02-10-2021, 04:23 PM)Alaini93 Wrote: thanks
@Alaini93
As is often the case, there's more than one way to skin this cat. Instead of making the webUI CSS even more complicated (or should I say instead of pretending I'll ever be as good with it as the rest of you!) I've chosen to experiment with running the local display via a separate website on port 8080. Then all I need do is edit /home/pi/.xinitrc to open my local display on localhost:8080.
I chose to do this because I was dealing with dead-simple displays with none of the cool features of the webUI. YMMV.
Tim chose to override the normal nginx configuration pattern where websites are defined in files in /etc/nginx/sites-available/ (and then enabled and disabled using symlinks in /etc/nginx/sites-enabled/). Instead he defines the website directly in /etc/nginx.conf. Whether one chooses to add a new server stanza in this file or chooses to revert to the normal pattern, some editing is required, but there's nothing exotic here. The nginx docs and lots of web sites are good sources of info.
This may well be a trick which @fdealexa uses too.
Regards,
Kent