-server_name
- burettes.heureux-cyclage.org
- burette.atelier-etincelle.org
- burette.atelier-etincelle.heureux-cyclage.org
- burette.atelierdynamo.fr
- burette.autourducycle.heureux-cyclage.org
- burette.bretzselle.heureux-cyclage.org
- burette.bretzselle.org
- burette.changedechaine.heureux-cyclage.org
- burette.cyclesetmanivelles.heureux-cyclage.org
- burette.cyclocoop.heureux-cyclage.org
- burette.cyclocoop.org
- burette.cyclofficineangouleme.heureux-cyclage.org
- burette.dynamo.heureux-cyclage.org
- burette.etudesetchantiersidf.heureux-cyclage.org
- burette.eturecup.heureux-cyclage.org
- burette.eturecup.org
- burette.labecaneajules.fr
- burette.labecaneajules.heureux-cyclage.org
- burette.lapetiterennes.heureux-cyclage.org
- burette.lapetiterennes.org
- burette.laptiterustine.heureux-cyclage.org
- burette.larouelibre.heureux-cyclage.org
- burette.la-roue-libre.com
- burette.lechatperche.heureux-cyclage.org
- burette.mig.heureux-cyclage.org
- burette.mobilidees.heureux-cyclage.org
- burette.mobilidees.org
- burette.ohcyclo.heureux-cyclage.org
- burette.ptitvelo.heureux-cyclage.org
- burette.ptitvelo.net
- burette.recupr.heureux-cyclage.org
- burette.recupr.org
- burette.repeyre.fr
- burette.repeyre.heureux-cyclage.org
- burette.rouepet.heureux-cyclage.org
- burette.rouepet.org
- burette.txirrindola.heureux-cyclage.org
- burette.txirrindola.org
- burette.velocampus.net
- burette.velocampus_nantes.heureux-cyclage.org
- burette.velorution.org
- burette.velorution_idf.heureux-cyclage.org
- burette.velorutiontoulouse.heureux-cyclage.org
- burette.velosenville.org
- burette.vieuxbiclou.heureux-cyclage.org
- burette.vieuxbiclou.org;
+include /etc/nginx/heureux-cyclage/burettes/name.conf
client_body_buffer_size 1024k;
client_max_body_size 10m;
+++ /dev/null
-#!/bin/sh -eu
-# SYNTAX: $site
-# DESCRIPTION: install nginx(1) site $site
-
-# ACTION: initialize from ./
- test -L "$0" && tool="$(readlink -e "$0")" || tool=$0
- tool=$(readlink -e "${tool%/*}"/...)
- . "$tool"/lib/install.sh
-# ACTION: initialize $sv from ./etc/$sv/
- sv=${cmd##*/etc/}
- sv=${sv%%/*}
-# ACTION: initialize $sv from ./sys/$sv/
- nginx_home=$("$tool"/cat sys/"$sv"/home)
- nginx_user=$("$tool"/cat sys/"$sv"/user)
-# ACTION: initialize $site from ./etc/$sv/$site/install
- site=${cmd##*/"$sv"/}
- site=${site%/install}
- site=${1:-$site}
-# ACTION: install from ./etc/$sv/$site/
- www_user=$("$tool"/cat sys/"$sv"/"$site"/user) ||
- www_user=$(printf %s www-"$site" | tr -c '[:alnum:]' -)
- www_home=$("$tool"/cat sys/"$sv"/"$site"/home) ||
- www_home="$nginx_home"/"$site"
- nginx_log_home=$("$tool"/cat sys/"$sv"/log/home)
- nginx_log_user=$("$tool"/cat sys/"$sv"/log/user)
- "$tool"/etc/user/adduser "$www_user" \
- --disabled-login \
- --disabled-password \
- --group \
- --home "$www_home" \
- --shell /bin/false \
- --system
- "$tool"/ssh-sudo \
- install -D -d -m 2750 -o "$www_user" -g "$www_user" \
- "$www_home"
- "$tool"/ssh-sudo \
- adduser "$nginx_user" "$www_user"
- "$tool"/ssh-sudo \
- install -D -d -m 2750 -o "$nginx_log_user" -g "$nginx_log_user" \
- "$nginx_log_home"/"$site"
- "$tool"/ssh-sudo \
- install -D -d -m 750 -o root -g root \
- /etc/"$sv"/"$site"
- etckeeper_exit
- etckeeper_exit () { true; }
- "$tool"/install etc/"$sv"/"$site"
--- /dev/null
+.../lib/tool/admin/etc/nginx/$site/install
\ No newline at end of file
--- /dev/null
+server_name
+ burettes.heureux-cyclage.org
+ burette.atelier-etincelle.heureux-cyclage.org
+ burette.atelier-etincelle.org
+ burette.atelierdynamo.fr
+ burette.autourducycle.heureux-cyclage.org
+ burette.bretzselle.heureux-cyclage.org
+ burette.bretzselle.org
+ burette.changedechaine.heureux-cyclage.org
+ burette.cyclesetmanivelles.heureux-cyclage.org
+ burette.cyclocoop.heureux-cyclage.org
+ burette.cyclocoop.org
+ burette.cyclofficineangouleme.heureux-cyclage.org
+ burette.dynamo.heureux-cyclage.org
+ burette.etudesetchantiersidf.heureux-cyclage.org
+ burette.eturecup.heureux-cyclage.org
+ burette.eturecup.org
+ burette.labecaneajules.fr
+ burette.labecaneajules.heureux-cyclage.org
+ burette.lapetiterennes.heureux-cyclage.org
+ burette.lapetiterennes.org
+ burette.laptiterustine.heureux-cyclage.org
+ burette.larouelibre.heureux-cyclage.org
+ burette.la-roue-libre.com
+ burette.lechatperche.heureux-cyclage.org
+ burette.mig.heureux-cyclage.org
+ burette.mobilidees.heureux-cyclage.org
+ burette.mobilidees.org
+ burette.ohcyclo.heureux-cyclage.org
+ burette.ptitvelo.heureux-cyclage.org
+ burette.ptitvelo.net
+ burette.recupr.heureux-cyclage.org
+ burette.recupr.org
+ burette.repeyre.fr
+ burette.repeyre.heureux-cyclage.org
+ burette.rouepet.heureux-cyclage.org
+ burette.rouepet.org
+ burette.txirrindola.heureux-cyclage.org
+ burette.txirrindola.org
+ burette.velocampus.net
+ burette.velocampus_nantes.heureux-cyclage.org
+ burette.velorution.org
+ burette.velorution_idf.heureux-cyclage.org
+ burette.velorution_toulouse.heureux-cyclage.org
+ burette.velosenville.org
+ burette.vieuxbiclou.heureux-cyclage.org
+ burette.vieuxbiclou.org;
server {
listen 80;
- server_name
- burettes.heureux-cyclage.org
- burette.atelier-etincelle.heureux-cyclage.org
- burette.atelier-etincelle.org
- burette.atelierdynamo.fr
- burette.autourducycle.heureux-cyclage.org
- burette.bretzselle.heureux-cyclage.org
- burette.bretzselle.org
- burette.changedechaine.heureux-cyclage.org
- burette.cyclesetmanivelles.heureux-cyclage.org
- burette.cyclocoop.heureux-cyclage.org
- burette.cyclocoop.org
- burette.cyclofficineangouleme.heureux-cyclage.org
- burette.dynamo.heureux-cyclage.org
- burette.etudesetchantiersidf.heureux-cyclage.org
- burette.eturecup.heureux-cyclage.org
- burette.eturecup.org
- burette.labecaneajules.fr
- burette.labecaneajules.heureux-cyclage.org
- burette.lapetiterennes.heureux-cyclage.org
- burette.lapetiterennes.org
- burette.laptiterustine.heureux-cyclage.org
- burette.larouelibre.heureux-cyclage.org
- burette.la-roue-libre.com
- burette.lechatperche.heureux-cyclage.org
- burette.mig.heureux-cyclage.org
- burette.mobilidees.heureux-cyclage.org
- burette.mobilidees.org
- burette.ohcyclo.heureux-cyclage.org
- burette.ptitvelo.heureux-cyclage.org
- burette.ptitvelo.net
- burette.recupr.heureux-cyclage.org
- burette.recupr.org
- burette.repeyre.fr
- burette.repeyre.heureux-cyclage.org
- burette.rouepet.heureux-cyclage.org
- burette.rouepet.org
- burette.txirrindola.heureux-cyclage.org
- burette.txirrindola.org
- burette.velocampus.net
- burette.velocampus_nantes.heureux-cyclage.org
- burette.velorution.org
- burette.velorution_idf.heureux-cyclage.org
- burette.velorution_toulouse.heureux-cyclage.org
- burette.velosenville.org
- burette.vieuxbiclou.heureux-cyclage.org
- burette.vieuxbiclou.org;
-
+ include /etc/nginx/heureux-cyclage/burettes/name.conf
return 301 https://$host$request_uri;
}
server {