┌────────────────────────────┐
│ Utilisateurs INTERNES │
│ (agents, enseignants, etc.) │
└──────────────┬─────────────┘
│
▼
Microsoft Entra ID
(SSO, MFA, CA)
│
▼
Entra ID Application Proxy
│
▼
Reverse Proxy interne
(Nginx)
│
▼
Documenso
▲
│
┌──────────────────────────┴──────────────────────────┐
│ │
│ Utilisateurs EXTERNES │
│ (parents, partenaires, fournisseurs) │
│ │
└───── Lien de signature sécurisé (email Documenso) ──┘
nginx:
image: nginx:1.25-alpine
container_name: documenso-nginx
restart: unless-stopped
ports:
- "8080:80" # utilisé UNIQUEMENT par Entra App Proxy
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d:ro
depends_on:
- documenso
├── compose.yml
└── nginx
└── conf.d
└── documenso.conf
server {
listen 80;
server_name sign.educ-valadon-limoges.fr;
client_max_body_size 50M;
location / {
proxy_pass http://documenso:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_buffering off;
}
}
docker exec -it documenso-nginx nginx -t => résultat attendu nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
Dans le .env de Documenso, désactiver l'authentification avec ce paramètre
DOCUMENSO_OAUTH_ENABLED=false
Documenso devient une application “derrière Entra”