X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fburette%2Fsite.conf;h=053a88fbf3e99425b903102e6454f5695bf0ef36;hp=191b13ea40bfb10f4c9e6eea0e63b0a2b090db3b;hb=47e4c952ec2866b340e6c65bbcf4beaa11557d39;hpb=c3a51f63171dfe81f25350f8a0251cf85a3a8de4 diff --git a/etc/nginx/site.d/burette/site.conf b/etc/nginx/site.d/burette/site.conf index 191b13e..053a88f 100644 --- a/etc/nginx/site.d/burette/site.conf +++ b/etc/nginx/site.d/burette/site.conf @@ -1,14 +1,27 @@ server_name burettes.heureux-cyclage.org burette.atelierdynamo.fr + burette.autourducycle.heureux-cyclage.org + burette.changedechaine.heureux-cyclage.org burette.cyclocoop.heureux-cyclage.org burette.cyclocoop.org + burette.cyclofficineangouleme.heureux-cyclage.org burette.dynamo.heureux-cyclage.org + burette.labecaneajules.heureux-cyclage.org + burette.labecaneajules.fr + burette.ohcyclo.heureux-cyclage.org burette.ptitvelo.heureux-cyclage.org burette.ptitvelo.net - demo.burette.ptitvelo.net + burette.repeyre.fr + burette.repeyre.heureux-cyclage.org + burette.txirrindola.heureux-cyclage.org + burette.txirrindola.org + burette.velorution.org + burette.velorution_idf.heureux-cyclage.org + burette.velorutiontoulouse.heureux-cyclage.org burette.velosenville.org - demo.burette.velosenville.org; + burette.vieuxbiclou.heureux-cyclage.org + burette.vieuxbiclou.org; client_body_buffer_size 1024k; client_max_body_size 10m; @@ -33,6 +46,9 @@ location / { # NOTE: by default, do not forward anything proxy_read_timeout 500; proxy_set_header Host $host; + proxy_set_header OpenERP-DB-Filter $burette_dbfilter; + # TODO: utiliser un certificat utilisateurice X.509 + # pour initialiser cette variable. proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; # NOTE: let the OpenERP web service know that we're using HTTPS,