summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.817
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index 7e3213b..f1e5590 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -23,8 +23,12 @@ Ultrix machine in your grandfather basement, probably MacOS) support hard
23links on their native filesystems. Don't do fancy things like moving the 23links on their native filesystems. Don't do fancy things like moving the
24subdirectories to different filesystems. Also, if you move your 24subdirectories to different filesystems. Also, if you move your
25.Nm 25.Nm
26installation to another server, do it with a tool that respect hard 26installation to another server, do it with a tool that keeps hard
27link counts. Remember: 27links, like
28.Xr tar 1
29or
30.Xr rsync 1
31with the -H switch. Remember:
28.Nm 32.Nm
29is a very UNIXy program that loves hard links. 33is a very UNIXy program that loves hard links.
30.Ss Building and Installation 34.Ss Building and Installation
@@ -194,9 +198,7 @@ By setting this to true, no inbox collection is done. Inbox collection helps
194being discovered from remote instances, but also increases network traffic. 198being discovered from remote instances, but also increases network traffic.
195.It Ic http_headers 199.It Ic http_headers
196If you need to add more HTTP response headers for whatever reason, you can 200If you need to add more HTTP response headers for whatever reason, you can
197fill this object with the required header/value pairs. For example, for enhanced 201fill this object with the required header/value pairs.
198XSS security, you can set the "Content-Security-Policy" header to "script-src ;"
199to be totally sure that no JavaScript is executed.
200.It Ic show_instance_timeline 202.It Ic show_instance_timeline
201If this is set to true, the instance base URL will show a timeline with the latest 203If this is set to true, the instance base URL will show a timeline with the latest
202user posts instead of the default greeting static page. If other information 204user posts instead of the default greeting static page. If other information
@@ -327,8 +329,9 @@ These weapons of mass destruction can be written into the
327file in the server base directory, one per line; if this file exists, 329file in the server base directory, one per line; if this file exists,
328all posts' content will be matched (after being stripped of HTML tags) 330all posts' content will be matched (after being stripped of HTML tags)
329against these regexes, one by one, and any match will make the post to 331against these regexes, one by one, and any match will make the post to
330be rejected. If you don't know about regular expressions, don't use this 332be rejected. Use lower case, the regex will be case insensitive by default.
331option (or learn about them in some tutorial, there are gazillions of 333If you don't know about regular expressions, don't use this
334option (or learn about them inw some tutorial, there are gazillions of
332them out there), as you and your users may start missing posts. Also, 335them out there), as you and your users may start missing posts. Also,
333given that every regular expression implementation supports a different 336given that every regular expression implementation supports a different
334set of features, consider reading the documentation about the one 337set of features, consider reading the documentation about the one