1
0

changement config.js et server.js gestion cookie, https et proxy

This commit is contained in:
unfr
2025-08-13 07:59:45 +02:00
parent 01c2f2d35e
commit 04e9d8d372
2 changed files with 33 additions and 12 deletions

View File

@@ -28,7 +28,10 @@ module.exports = {
// Secret pour la configuration des sessions "curl -L pw.vdx.sh/w/32"
sessionSecret: 'Voir commande ci dessus',
trustProxy: 0, // 0=pas de proxy, 1=Nginx, 2=Cloudflare->Nginx, etc.
cookieSecure: false, // true si HTTPS de bout en bout
sessionStorePath: './sessions',
// Informations d'authentification
auth: {
username: 'user',