Mercurial > prosody-wiki
diff mod_pastebin.wiki @ 272:d4d1035c8700
Added note about default URL (thanks Nulani)
author | MWild1@gmail.com |
---|---|
date | Mon, 09 Apr 2012 15:14:51 +0000 |
parents | 000cd449e801 |
children | 25afe4b60780 |
line wrap: on
line diff
--- 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://<your-prosody>: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)||