Personally, I think the wiki is a little incorrect as written.
sites-enabled is a 'directory' containing one or more config files. The
typical config file is the 'file' /etc/nginx/sites-enabled/default within
that directory (which is usually a symlink to
/etc/nginx/sites-available/default).
If you want to do it that way, just add a new location block under the
existing one in that file, then restart nginx.
FWIW - I don't do it that way. I just create a symlink in the nginx
directory:
sudo ln -s /home/weewx/public_html /var/www/html/weewx
(for a setup.py installation)
--
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/5b4bd6fd-3c65-46ed-a981-1625e53c5f69n%40googlegroups.com.