Tâche #5896
Distribution EOLE - Scénario #8833: Évolutions sur WPAD
Wpad devrait être sur le port 80
Description
J'ai installé eole-reverseproxy pour uniquement diffuser wpad. revprox_activate_http est donc à "non". Aucune règle de firewall n'est placé. Le port de nginx n'est pas ouvert.
De manière plus général, je pense que nginx devrait écouter sur le port 80 (et non 81) quand on active le wpad sans revprox_activate_http.
Pour cela j'ai modifié le fichier nginx.default :
listen 0.0.0.0:81;
devient
%if %%activer_revprox_rewrite == 'non' listen 0.0.0.0:80; %else listen 0.0.0.0:81; %end if
Dans le dicos 25_nginx.xml j'ai retiré le filelist revprox.
Et j'ai réécris le template 00_root_reverseproxy.fw de la façon suivante :
%if %%revprox_activate_http == 'oui' or %%revprox_auto_config_local_web == 'oui' or %%is_defined('container_ip_proxy') allow_src(interface='eth0', ip='0/0', port='80') %end if %if %%revprox_activate_http == 'oui' or %%revprox_auto_config_local_web == 'oui' allow_src(interface='eth0', ip='0/0', port='443') %end if
Associated revisions
History
#1 Updated by Joël Cuissinat over 9 years ago
- Target version set to Mises à jour 2.3.11
- Estimated time set to 0.50 h
#2 Updated by Joël Cuissinat over 9 years ago
- Description updated (diff)
- Due date set to 09/06/2013
- Assigned To set to Joël Cuissinat
- Start date set to 09/02/2013
#3 Updated by Joël Cuissinat over 9 years ago
- Status changed from Nouveau to En attente d'informations
L'application de cette modification sur mon AmonEcole entraîne le retour de l'erreur :
root@amonecole:/etc/nginx# /etc/init.d/nginx restart Restarting nginx: [emerg]: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
Les noms de domaine utilisés par wpad seraient peut-être à prendre en compte dans l'affreux calcul minable (#5773) ?
Pourtant avec ma configuration :
>>> len("wpad.monreseau.lan") + 4 22
#4 Updated by Joël Cuissinat over 9 years ago
- Assigned To changed from Joël Cuissinat to Emmanuel GARETTE
- Target version deleted (
Mises à jour 2.3.11) - Distribution changed from EOLE 2.3 to EOLE 2.4
=> à revoir pour 2.4
#5 Updated by Joël Cuissinat over 8 years ago
- Parent task set to #8833
#6 Updated by Daniel Dehennin over 8 years ago
- Status changed from En attente d'informations to Nouveau
#7 Updated by Joël Cuissinat about 8 years ago
- Assigned To deleted (
Emmanuel GARETTE) - Estimated time changed from 0.50 h to 3.00 h
- Remaining (hours) set to 3.0
#8 Updated by Gilles Grandgérard almost 8 years ago
- Status changed from Nouveau to En cours
#9 Updated by Emmanuel GARETTE almost 8 years ago
- Description updated (diff)
- Assigned To set to Emmanuel GARETTE
#10 Updated by Emmanuel GARETTE almost 8 years ago
- Subject changed from Wpad sans avec activer revprox_activate_http devrait être sur le port 80 to Wpad devrait être sur le port 80
#11 Updated by Emmanuel GARETTE almost 8 years ago
- % Done changed from 0 to 60
Il reste a adapter les modèles Era.
#12 Updated by Emmanuel GARETTE almost 8 years ago
- % Done changed from 60 to 100
#13 Updated by Emmanuel GARETTE almost 8 years ago
- Remaining (hours) changed from 3.0 to 0.25
#14 Updated by Scrum Master almost 8 years ago
- Status changed from En cours to Résolu
#15 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0