Pick an authentication method that [best fits your situation](https://certbot.eff.org/docs/using.html#getting-certificates-and-choosing-plugins). If you don't have a webserver running, using the 'standalone' option works well.
Should you succeed, you will be able to read something like:
Should you succeed, you will be able to read something like:
@ -150,6 +155,11 @@ The homebrewserver.club prosody config
archive_expires_after = "1w" -- Remove archived messages after 1 week
archive_expires_after = "1w" -- Remove archived messages after 1 week
disco_items = { -- allows clients to find the capabilities of your server
{"upload.myserver.org", "file uploads"};
{"groups.myserver.org", "group chats"};
}
log = { --disable for extra privacy
log = { --disable for extra privacy
info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
error = "/var/log/prosody/prosody.err";
error = "/var/log/prosody/prosody.err";
@ -159,10 +169,10 @@ The homebrewserver.club prosody config
VirtualHost "myserver.org"
VirtualHost "myserver.org"
-- Enable http_upload to allow image sharing across multiple devices and clients
-- Enable http_upload to allow image sharing across multiple devices and clients
Component "dump.myserver.org" "http_upload"
Component "upload.myserver.org" "http_upload"
-- Enable groupchats on your server
-- Enable groupchats on your server
Component "muc.myserver.org" "muc"
Component "groups.myserver.org" "muc"
modules_enabled = { "muc_mam", "vcard_muc" } --enable archives and avatars for groupchats
modules_enabled = { "muc_mam", "vcard_muc" } --enable archives and avatars for groupchats
-- Set up a file transfer proxy to facilitate clients sending larger files to each other
-- Set up a file transfer proxy to facilitate clients sending larger files to each other
@ -174,7 +184,7 @@ Replace all instances of the placeholder domain name with `yourdomain` in the co
:::console
:::console
sed -i 's/myserver.org/yourdomain/g' prosody.cfg.lua
sed -i 's/myserver.org/yourdomain/g' prosody.cfg.lua
Alternatively you can change them by hand. They are on lines 39, 75, 81, 85 of prosody.cfg.lua
Alternatively you can change them by hand. They are on lines 70, 81, 84, 88, 91 of prosody.cfg.lua
Make Prosody import the LetsEncrypt certificates:
Make Prosody import the LetsEncrypt certificates:
@ -184,8 +194,8 @@ Make Prosody import the LetsEncrypt certificates:
You might get the following output:
You might get the following output:
:::console
:::console
No certificate for host muc.myserver.org found :(
No certificate for host groups.myserver.org found :(
No certificate for host dump.myserver.org found :(
No certificate for host upload.myserver.org found :(
No certificate for host proxy.myserver.org found :(
No certificate for host proxy.myserver.org found :(
Imported certificate and key for hosts myserver.org
Imported certificate and key for hosts myserver.org