From 1234e3e4d384bd92b073fa1e3549aa916113c3fa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 1 Feb 2020 09:12:13 +0000 Subject: wwwtext: give "url" examples in sample config inbox.$NAME.url is a common parameter and set by public-inbox-init(1), so ensure we have lines for it and emphasize it can be multi-value for .onion hidden services or otherwise mirrored and available under multiple URLs. --- lib/PublicInbox/WwwText.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index ace7f9d7..fbbe8e3b 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -147,6 +147,8 @@ sub inbox_config ($$$) { ; note: public-inbox before v1.2.0 used "mainrepo" ; instead of "inboxdir", both remain supported after 1.2 mainrepo = /path/to/top-level-inbox + url = https://example.com/$name/ + url = http://example.onion/$name/ EOS for my $k (qw(address listid infourl)) { defined(my $v = $ibx->{$k}) or next; -- cgit v1.2.3-24-ge0c7