# HG changeset patch # User MWild1@gmail.com # Date 1333984491 0 # Node ID d4d1035c870065197cab989a55896867de5ecffe # Parent 5e3007c66b148c8c365d2c6de0b8453489eff7dc Added note about default URL (thanks Nulani) diff -r 5e3007c66b14 -r d4d1035c8700 mod_pastebin.wiki --- a/mod_pastebin.wiki Tue Mar 27 15:55:54 2012 +0000 +++ b/mod_pastebin.wiki Mon Apr 09 15:14:51 2012 +0000 @@ -9,7 +9,7 @@ = Details = -When someone posts to a room a "large" (configurable) message, Prosody will intercept the message and convert it to a URL pointing to a built-in pastebin server. The URLs are randomly generated, so they can be considered for most purposes to be private, and cannot be discovered by people who are not in the room. +When someone posts to a room a "large" (the actual limit is configurable) message, Prosody will intercept the message and convert it to a URL pointing to a built-in pastebin server. The URLs are randomly generated, so they can be considered for most purposes to be private, and cannot be discovered by people who are not in the room. = Usage = @@ -21,6 +21,8 @@ modules_enabled = { "pastebin" } }}} +Pastes will be available by default at `http://:5280/pastebin/` by default. This can be changed with `pastebin_ports` (see below), or you can forward another external URL from your web server to Prosody, use `pastebin_url` to set that URL. + = Configuration = ||pastebin_ports||List of ports to run the HTTP server on, same format as mod_httpserver's http_ports|| ||pastebin_threshold||Maximum length (in characters) of a message that is allowed to skip the pastebin. (default 500 characters)||