Tâche #18840
Scénario #18551: Nginx doit servir de reverse proxy pour des applications locales et distantes
Faire la configuration pour genconfig
Demandes liées
Révisions associées
Publier gen_config sur le port 443
Si eole-reverseproxy ou eole-web est installé, nous pouvons proposer
l’accès à gen_config sur le port 443.
La restriction d’accès ne fonctionne pas sur Apache car il faut
utiliser « mod_remoteip » pour gérer l’accès par un proxy inverse.
- dicos/29_genconfig.xml: Variables contôlant l’activation de l’accès
à gen_config.
- tmpl/genconfig.apache.conf: Configuration pour Apache.
- tmpl/genconfig.nginx.conf: Configuration pour Nginx.
Ref: #18840
Ajout du dictionnaire et des templates aux paquets
Ref: #18840
New Creole helper to publish “master only” web applications
gen_config is a web application which could only be activated on
master.
This requires a complex test which could not be expressed in XML.
- creole/eosfunc.py (activate_master_only_web_app): New function to
test if a “master only” web application can be enabled or not.
Ref: #18840
Use new helper “activate_master_only_web_app”
- dicos/29_genconfig.xml: Remove unused variable.
Use the new helper to calculate “test_activer_genconfig”.
Remove “fallback='True'” because variables are defined with
“exists='False'”.
Ref: #18840
Do not publish genconfig by default
Or it will be activated automatically on scribe with eole-web but
Apache access restriction does not work behind a reverse proxy.
Ref: #18840
Historique
#1 Mis à jour par Scrum Master il y a environ 7 ans
- Statut changé de Nouveau à En cours
#2 Mis à jour par Scrum Master il y a environ 7 ans
- Assigné à mis à Daniel Dehennin
#3 Mis à jour par Daniel Dehennin il y a environ 7 ans
- Projet changé de Distribution EOLE à eole-genconfig
#4 Mis à jour par Daniel Dehennin il y a environ 7 ans
- % réalisé changé de 0 à 100
- Restant à faire (heures) changé de 2.0 à 0.25
#5 Mis à jour par Daniel Dehennin il y a environ 7 ans
Paquet 2.6.1-12.
#6 Mis à jour par Scrum Master il y a environ 7 ans
- Projet changé de eole-genconfig à Distribution EOLE
- Statut changé de En cours à Résolu
#7 Mis à jour par Daniel Dehennin il y a environ 7 ans
Pour tester¶
eole-genconfig doit être accessible sur https://<nom_machine>.<nom_domaine_local>/genconfig
Il est aussi possible de modifier en mode expert le chemin de gen_config dans Applications web Nginx
#8 Mis à jour par Laurent Flori il y a environ 7 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) changé de 0.25 à 0.0
#9 Mis à jour par Daniel Dehennin il y a environ 7 ans
- Lié à Scénario #19023: Les restrictions d’accès apache doivent fonctionner derrière un reverse proxy ajouté