Blame public/fs/etc/nginx/nginx-conf.sh
|
root@culturestrings |
cc67b0 |
#!/bin/sh
|
|
root@culturestrings |
cc67b0 |
|
|
root@culturestrings |
cc67b0 |
set -eu
|
|
root@culturestrings |
cc67b0 |
|
|
root@culturestrings |
cc67b0 |
hostzone="$1"
|
|
root@culturestrings |
cc67b0 |
|
|
root@culturestrings |
cc67b0 |
cfg_script="$0"
|
|
root@culturestrings |
cc67b0 |
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)
|
|
root@culturestrings |
cc67b0 |
|
|
root@culturestrings |
cc67b0 |
sed -e 's/@hostzone@/'"${hostzone}"'/g' \
|
|
root@culturestrings |
cc67b0 |
"${cfg_srcdir}/nginx.conf.in"
|