Ajout : etc/sv/ : $HTTP_OPENERP_DB_FILTER .
[lhc/ateliers.git] / etc / nginx / site.d / burette / http.conf
1 server {
2 listen 80;
3 server_name
4 burettes.heureux-cyclage.org
5 burette.atelierdynamo.fr
6 burette.cyclocoop.heureux-cyclage.org
7 burette.cyclocoop.org
8 burette.dynamo.heureux-cyclage.org
9 burette.ptitvelo.heureux-cyclage.org
10 burette.ptitvelo.net
11 burette.velorution.org
12 burette.velorution_idf.heureux-cyclage.org
13 burette.velosenville.org
14 burette.vieuxbiclou.heureux-cyclage.org
15 burette.vieuxbiclou.org;
16
17 return 301 https://$host$request_uri;
18 }
19 upstream openerp7_burette {
20 server 127.0.0.1:8069
21 fail_timeout=300s
22 weight=1;
23 }
24 map $http_host $burette_dbfilter {
25 default "";
26 burettes.heureux-cyclage.org ".*$";
27 burette.atelierdynamo.fr "dynamo$";
28 burette.cyclocoop.heureux-cyclage.org "cyclo_.*$";
29 burette.cyclocoop.org "cyclo_.*$";
30 burette.dynamo.heureux-cyclage.org "dynamo$";
31 burette.ptitvelo.heureux-cyclage.org "ptitvelo$";
32 burette.ptitvelo.net "ptitvelo$";
33 burette.velorution.org "velorution_idf$";
34 burette.velorution_idf.heureux-cyclage.org "velorution_idf$";
35 burette.velosenville.heureux-cyclage.org "velosenville$";
36 burette.velosenville.org "velosenville$";
37 burette.vieuxbiclou.heureux-cyclage.org "vieuxbiclou$";
38 burette.vieuxbiclou.org "vieuxbiclou$";
39 }