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