Mathilde Thanks a lot for your response. Here are the logs I have on my app :
2023-11-22 10:14:00.844118+01:00> cryptpad@5.5.0 build
2023-11-22 10:14:00.844126+01:00> node scripts/build.js
2023-11-22 10:14:00.844132+01:002023-11-22T10:14:00.844132517+01:00
2023-11-22 10:14:00.930786+01:00Creating target directories
2023-11-22 10:14:00.931703+01:00Parsing /cryptpad/www/sheet/index.html
2023-11-22 10:14:00.932604+01:00Creating ./www/sheet/index.html
2023-11-22 10:14:00.933369+01:002023-11-22T10:14:00.933369056+01:00
2023-11-22 10:14:00.933395+01:00Parsing /cryptpad/www/doc/index.html
2023-11-22 10:14:00.933651+01:00Creating ./www/doc/index.html
2023-11-22 10:14:00.933867+01:002023-11-22T10:14:00.933867822+01:00
2023-11-22 10:14:00.933883+01:00Parsing /cryptpad/www/presentation/index.html
2023-11-22 10:14:00.934191+01:00Creating ./www/presentation/index.html
2023-11-22 10:14:00.934408+01:002023-11-22T10:14:00.934408665+01:00
2023-11-22 10:14:00.934424+01:00Parsing /cryptpad/www/pad/index.html
2023-11-22 10:14:00.934639+01:00Creating ./www/pad/index.html
2023-11-22 10:14:00.934835+01:002023-11-22T10:14:00.934835370+01:00
2023-11-22 10:14:00.934855+01:00Parsing /cryptpad/www/kanban/index.html
2023-11-22 10:14:00.935150+01:00Creating ./www/kanban/index.html
2023-11-22 10:14:00.935348+01:002023-11-22T10:14:00.935348829+01:00
2023-11-22 10:14:00.935363+01:00Parsing /cryptpad/www/code/index.html
2023-11-22 10:14:00.935678+01:00Creating ./www/code/index.html
2023-11-22 10:14:00.935888+01:002023-11-22T10:14:00.935888309+01:00
2023-11-22 10:14:00.935924+01:00Parsing /cryptpad/www/form/index.html
2023-11-22 10:14:00.936104+01:00Creating ./www/form/index.html
2023-11-22 10:14:00.936284+01:002023-11-22T10:14:00.936284550+01:00
2023-11-22 10:14:00.936476+01:00Parsing /cryptpad/www/poll/index.html
2023-11-22 10:14:00.936649+01:00Creating ./www/poll/index.html
2023-11-22 10:14:00.936821+01:002023-11-22T10:14:00.936821793+01:00
2023-11-22 10:14:00.936841+01:00Parsing /cryptpad/www/whiteboard/index.html
2023-11-22 10:14:00.937106+01:00Creating ./www/whiteboard/index.html
2023-11-22 10:14:00.937357+01:002023-11-22T10:14:00.937357954+01:00
2023-11-22 10:14:00.937379+01:00Parsing /cryptpad/www/diagram/index.html
2023-11-22 10:14:00.937579+01:00Creating ./www/diagram/index.html
2023-11-22 10:14:00.937833+01:002023-11-22T10:14:00.937833294+01:00
2023-11-22 10:14:00.937845+01:00Parsing /cryptpad/www/slide/index.html
2023-11-22 10:14:00.938103+01:00Creating ./www/slide/index.html
2023-11-22 10:14:00.938263+01:002023-11-22T10:14:00.938263579+01:00
2023-11-22 10:14:00.938371+01:00Parsing /cryptpad/www/file/index.html
2023-11-22 10:14:00.938584+01:00Creating ./www/file/index.html
2023-11-22 10:14:00.938769+01:002023-11-22T10:14:00.938769068+01:00
2023-11-22 10:14:00.938808+01:00Parsing /cryptpad/www/calendar/index.html
2023-11-22 10:14:00.939086+01:00Creating ./www/calendar/index.html
2023-11-22 10:14:00.939280+01:002023-11-22T10:14:00.939280798+01:00
2023-11-22 10:14:00.939302+01:00Parsing /cryptpad/www/drive/index.html
2023-11-22 10:14:00.939473+01:00Creating ./www/drive/index.html
2023-11-22 10:14:00.939660+01:002023-11-22T10:14:00.939660507+01:00
2023-11-22 10:14:00.939689+01:00Parsing /cryptpad/www/teams/index.html
2023-11-22 10:14:00.939874+01:00Creating ./www/teams/index.html
2023-11-22 10:14:00.940024+01:002023-11-22T10:14:00.940024373+01:00
2023-11-22 10:14:00.940044+01:00Parsing /cryptpad/www/contacts/index.html
2023-11-22 10:14:00.940194+01:00Creating ./www/contacts/index.html
2023-11-22 10:14:00.940432+01:002023-11-22T10:14:00.940432900+01:00
2023-11-22 10:14:00.940456+01:00Parsing /cryptpad/www/notifications/index.html
2023-11-22 10:14:00.940617+01:00Creating ./www/notifications/index.html
2023-11-22 10:14:00.940806+01:002023-11-22T10:14:00.940806533+01:00
2023-11-22 10:14:00.940826+01:00Parsing /cryptpad/www/checkup/index.html
2023-11-22 10:14:00.941251+01:00Creating ./www/checkup/index.html
2023-11-22 10:14:00.941416+01:002023-11-22T10:14:00.941416576+01:00
2023-11-22 10:14:00.941438+01:00Parsing /cryptpad/www/file/index.html
2023-11-22 10:14:00.941551+01:00Creating ./www/file/index.html
2023-11-22 10:14:00.942145+01:002023-11-22T10:14:00.942145387+01:00
2023-11-22 10:14:00.942163+01:00Parsing /cryptpad/www/profile/index.html
2023-11-22 10:14:00.942318+01:00Creating ./www/profile/index.html
2023-11-22 10:14:00.942483+01:002023-11-22T10:14:00.942483083+01:00
2023-11-22 10:14:00.942509+01:00Parsing /cryptpad/www/settings/index.html
2023-11-22 10:14:00.942691+01:00Creating ./www/settings/index.html
2023-11-22 10:14:00.942877+01:002023-11-22T10:14:00.942877320+01:00
2023-11-22 10:14:00.942895+01:00Parsing /cryptpad/www/support/index.html
2023-11-22 10:14:00.943057+01:00Creating ./www/support/index.html
2023-11-22 10:14:00.943219+01:002023-11-22T10:14:00.943219958+01:00
2023-11-22 10:14:00.943508+01:00Parsing ./www/register/index.html
2023-11-22 10:14:00.943772+01:00Creating ./www/register/index.html
2023-11-22 10:14:00.943929+01:002023-11-22T10:14:00.943929916+01:00
2023-11-22 10:14:00.943956+01:00Parsing ./www/login/index.html
2023-11-22 10:14:00.944120+01:00Creating ./www/login/index.html
2023-11-22 10:14:00.944430+01:002023-11-22T10:14:00.944430574+01:00
2023-11-22 10:14:00.944440+01:00Parsing ./customize.dist/contact.html
2023-11-22 10:14:00.944566+01:00Creating ./www/contact.html
2023-11-22 10:14:00.944753+01:002023-11-22T10:14:00.944753176+01:00
2023-11-22 10:14:00.944767+01:00Parsing ./customize.dist/features.html
2023-11-22 10:14:00.944894+01:00Creating ./www/features.html
2023-11-22 10:14:00.945059+01:002023-11-22T10:14:00.945059191+01:00
2023-11-22 10:14:00.945083+01:00Parsing ./customize.dist/index.html
2023-11-22 10:14:00.945189+01:00Creating ./www/index.html
2023-11-22 10:14:00.945355+01:002023-11-22T10:14:00.945355657+01:00
2023-11-22 10:14:00.945373+01:00Copying built files to target directory (/cryptpad/customize)
2023-11-22 10:14:00.952634+01:00Removing temporary build directory (/tmp/CRYPTPAD_TEMP_BUILD/)
2023-11-22 10:14:00.958233+01:00Successfully removed /tmp/CRYPTPAD_TEMP_BUILD/
2023-11-22 10:14:01.303173+01:002023-11-22T10:14:01.303173131+01:00
2023-11-22 10:14:01.303200+01:00> cryptpad@5.5.0 start
2023-11-22 10:14:01.303207+01:00> node server.js
2023-11-22 10:14:01.303213+01:002023-11-22T10:14:01.303213514+01:00
Here are (one of the ) cryptpads logs :
super_jojo@truenas:/mnt/Safe/Apps_Data/CryptPadServer/data/logs/23$ cat 232023-11-22T09\:14\:01.442Z.ndjson
["INFO","2023-11-22T09:14:01.445Z","WEBSERVER_LISTENING",{"origin":"https://jojo-cryptpad.duckdns.org/"}]
["INFO","2023-11-22T09:14:01.447Z","WEBSOCKET_LISTENING",{"port":3003}]
["INFO","2023-11-22T09:14:01.653Z","UPDATING_FRESH_KEY",1700644441653]
["INFO","2023-11-22T09:14:02.089Z","WORKER_ENV_UPDATE","Updating HTTP workers with latest state"]
["INFO","2023-11-22T09:14:02.147Z","WORKER_CACHE_FLUSH","Instructing HTTP workers to flush cache"]
["INFO","2023-11-22T09:14:02.884Z","SERVER_TELEMETRY",{"version":"5.5.0","installMethod":"docker","httpUnsafeOrigin":"https://jojo-cryptpad.duckdns.org","httpSafeOrigin":"https://jojo-sandbox-cryptpad.duckdns.org","consentToContact":false}]
["ERROR","2023-11-22T09:14:34.992Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:14:58.183Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:15:08.599Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:15:26.786Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:15:40.446Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:16:07.518Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:16:34.694Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:17:01.589Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:17:28.542Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:17:55.533Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:18:23.556Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:18:51.677Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:19:18.944Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:19:46.610Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:20:15.526Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:20:48.842Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:49:23.377Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T09:49:29.083Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T10:19:17.479Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T14:43:48.999Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T14:44:09.473Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T14:44:11.030Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
["ERROR","2023-11-22T14:44:38.215Z","HTTP_PROXY_MIDDLEWARE","[HPM] Error occurred while proxying request jojo-cryptpad.duckdns.org/cryptpad_websocket to undefined [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)"]
super_jojo@truenas:/mnt/Safe/Apps_Data/CryptPadServer/data/logs/23$
Here is my nginx conf :
super_jojo@truenas:/mnt/FastBoy/ix-applications/releases/nginx-proxy-manager/volumes/ix_volumes/data/nginx/proxy_host$ cat cryptpad.conf
# ------------------------------------------------------------
# jojo-cryptpad.duckdns.org jojo-sandbox-cryptpad.duckdns.org
# ------------------------------------------------------------
server {
listen 443 ssl http2;
#listen [::]:443 ssl http2;
# Let's Encrypt webroot
#include letsencrypt-webroot;
# CryptPad serves static assets over these two domains.
# `your-main-domain` is what users will enter in their address bar.
# Privileged computation such as key management is handled in this scope
# UI content is loaded via the `your-sandbox-domain`.
# "Content Security Policy" headers prevent content loaded via the sandbox
# from accessing privileged information.
# This setup allows to take advantage of CryptPad's sandboxing techniques.
# In the event of an XSS vulnerability in CryptPad's front-end code
# this will limit the amount of information accessible to attackers.
server_name jojo-cryptpad.duckdns.org jojo-sandbox-cryptpad.duckdns.org;
# You'll need to Set the path to your certificates and keys here
# IMPORTANT: this config is intended to serve assets for at least two domains
# (your main domain and your sandbox domain). As such, you'll need to generate a single SSL certificate
# that includes both domains in order for things to work as expected.
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-10/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-10/privkey.pem;
# diffie-hellman parameters are used to negotiate keys for your session
# generate strong parameters using the following command
# ssl_dhparam /etc/nginx/dhparam.pem; # openssl dhparam -out /etc/nginx/dhparam.pem 4096
# Speeds things up a little bit when resuming a session
#ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m;
ssl_session_tickets off;
#ssl_protocols TLSv1.2 TLSv1.3;
#ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
#ssl_prefer_server_ciphers off;
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains" always;
# OCSP stapling
ssl_stapling on;
ssl_stapling_verify on;
# verify chain of trust of OCSP response using Root CA and Intermediate certs
ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
# replace with the IP address of your resolver
resolver 8.8.8.8 8.8.4.4 1.1.1.1 1.0.0.1 9.9.9.9 149.112.112.112 208.67.222.222 208.67.220.220;
location / {
proxy_pass http://192.168.1.126:3000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 150m;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
}
}