Project

General

Profile

Tâche #18840

Scénario #18551: Nginx doit servir de reverse proxy pour des applications locales et distantes

Faire la configuration pour genconfig

Added by Daniel Dehennin over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/24/2017
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Fournir une configuration pour eole-genconfig en plus de la configuration actuelle.


Related issues

Related to eole-web - Scénario #19023: Les restrictions d’accès apache doivent fonctionner derrière un reverse proxy Terminé (Sprint) 02/13/2017 03/03/2017

Associated revisions

Revision 411b930f (diff)
Added by Daniel Dehennin over 6 years ago

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

Revision a263d50e (diff)
Added by Daniel Dehennin over 6 years ago

Ajout du dictionnaire et des templates aux paquets

Ref: #18840

Revision d2556651 (diff)
Added by Daniel Dehennin over 6 years ago

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

Revision 5bd97dac (diff)
Added by Daniel Dehennin over 6 years ago

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

Revision f6c54ccc (diff)
Added by Daniel Dehennin over 6 years ago

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

Also available in: Atom PDF