Tâche #18840
Scénario #18551: Nginx doit servir de reverse proxy pour des applications locales et distantes
Faire la configuration pour genconfig
Related issues
Associated revisions
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
History
#1 Updated by Scrum Master over 6 years ago
- Status changed from Nouveau to En cours
#2 Updated by Scrum Master over 6 years ago
- Assigned To set to Daniel Dehennin
#3 Updated by Daniel Dehennin over 6 years ago
- Project changed from Distribution EOLE to eole-genconfig
#4 Updated by Daniel Dehennin over 6 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.25
#5 Updated by Daniel Dehennin over 6 years ago
Paquet 2.6.1-12.
#6 Updated by Scrum Master over 6 years ago
- Project changed from eole-genconfig to Distribution EOLE
- Status changed from En cours to Résolu
#7 Updated by Daniel Dehennin over 6 years ago
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 Updated by Laurent Flori over 6 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
#9 Updated by Daniel Dehennin over 6 years ago
- Related to Scénario #19023: Les restrictions d’accès apache doivent fonctionner derrière un reverse proxy added