Thanks, Vince. It seems to be working well on my "play" system and displaying the site on Firefox. I've got a few other things to work on for a day or two, so I'll just let it run for now.
- Paul VE1DX On Tuesday, November 21, 2023 at 5:07:19 PM UTC-4 vince wrote: > Paul - I updated my script to be more flexible for vagrant vs. running on > top of a native os, if you wanted to give the new one a try. > > In the updated script I switched gears a little to have weewx write > through a symlink into a new /var/www/hmtl/weewx subdirectory which is > safer from a security standpoint. The commands it runs to do so are down > around line 160 in the updated script if you wanted to do them manually. > It points weewx at a new subdirectory in nginx's document root. > > A little cleanup would be needed to run those commands if you've > previously run the earlier version of my script that symlinks the other way > (points nginx at weewx $HOME). > > A run on a clean system with no $HOME/weewx-data or $HOME/weewx-venv tree > will work fine (tested on a pi) with the weewx web pages via > http://yourhost_or_ip/weewx as the URL and the actual data being written > to /var/www/html/weewx on the filesystem. > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ebfa545a-971d-4674-bc09-b0923184eaadn%40googlegroups.com.
