Setting up cryptpad server

Revision as of 05:34, 7 September 2024 by Maintenance script (talk | contribs) (Initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source: https://docs.cryptpad.org/en/admin_guide/installation.html

!information#References ## Trouble Shooting https://cryptpad.irregularchat.com/checkup/

Serving Cryptpad

PM2 should be used instead of foreverjs and instead of just using node.

<syntaxhighlight lang="shell">pm2 start server.js --name cryptpad pm2 save pm2 list </syntaxhighlight>

NGINX

<syntaxhighlight lang="shell">sudo apt update;sudo apt install nginx -y sudo mkdir -p /etc/nginx/conf.d/ sudo nano /etc/nginx/conf.d/cryptpad.conf


sudo openssl dhparam -out /etc/nginx/dhparam.pem 4096</syntaxhighlight>