Tâche #30087
Scénario #30019: Essayer de corriger les warning nginx
S'assurer que seul les fichiers dans web.d sont générés
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
05/11/2020
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
Les sites-enabled
pour eole-genconfig
et eole-sso
doivent être des fichiers de configuration dans web.d.
Associated revisions
nginx: genconfig should be always available
The actual solution generate several “server” entries with the same
“IP:port” which result is misbehaviour.
- dicos/29_genconfig.xml: enable a standalone configuration file when
both reverse proxy and apache are disabled.
- tmpl/genconfig-standalone-nginx.conf: minimal configuration prohibit
access to all locations except what is authorised in “web.d/*.conf”.
Ref: #30019
nginx: don't generate configuration only when Apache is enabled
We must test if either we have reverse proxy or a minimal standalone
nginx configuration.
Ref: #30019
nginx: generate the configuration under “web.d/”
Ref: #30019
nginx: the “web.d” directory may not be created
- dicos/21_sso.xml: force creation of the “web.d” directory.
Ref: #30087
nginx: the SSO service is mounted under “/”
- tmpl/nginx-eolesso.conf: proxy “/sso” to “/”.
Ref: #30087
History
#1 Updated by Daniel Dehennin over 3 years ago
- Status changed from Nouveau to En cours
#2 Updated by Daniel Dehennin over 3 years ago
- Assigned To set to Daniel Dehennin
#3 Updated by Daniel Dehennin over 3 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#4 Updated by Joël Cuissinat over 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
OK