2 burettes.heureux-cyclage.org
3 burette.atelierdynamo.fr
4 burette.cyclocoop.heureux-cyclage.org
6 burette.dynamo.heureux-cyclage.org
7 burette.ptitvelo.heureux-cyclage.org
10 burette.velorution_idf.heureux-cyclage.org
11 burette.velosenville.org
12 burette.vieuxbiclou.heureux-cyclage.org
13 burette.vieuxbiclou.org;
15 client_body_buffer_size 1024k;
16 client_max_body_size 10m;
19 proxy_buffer_size 128k;
27 proxy_next_upstream error timeout
32 # NOTE: force timeouts if the backend dies.
33 proxy_pass http://openerp7_burette;
35 # NOTE: by default, do not forward anything
36 proxy_read_timeout 500;
37 proxy_set_header Host $host;
38 proxy_set_header OpenERP-DB-Filter $burette_dbfilter;
39 # TODO: utiliser un certificat utilisateurice X.509
40 # pour initialiser cette variable.
41 proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
42 proxy_set_header X-Forwarded-Proto https;
43 # NOTE: let the OpenERP web service know that we're using HTTPS,
44 # otherwise it will generate URL using http:// and not https://
45 proxy_set_header X-Real-IP $remote_addr;
48 location ~* ^/web/static/ {
49 # NOTE: cache some static data in memory for 60mins;
50 # under heavy load this should relieve stress on the OpenERP web interface a bit.
53 proxy_cache_valid 200 60m;
54 proxy_pass http://openerp7_burette;