Skip to content

Commit 10fc62b

Browse files
committed
Fix vhost creation
1 parent 97a39be commit 10fc62b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,5 @@ It allows any of the following combinations:
270270
## Version
271271

272272
```
273-
nginx version: nginx/1.18.0
273+
nginx version: nginx/1.18.0
274274
```

data/create-vhost.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ "${GENERATE_SSL}" = "1" ]; then
3030
fi
3131
fi
3232

33-
cmd="vhost_gen.py -p \"${VHOST_PATH}\" -n \"${VHOST_NAME}\" -c /etc/vhost-gen/mass.yml -o \"${VHOST_TPL}\" -s ${VERBOSE} -m ${GEN_MODE}"
33+
cmd="vhost-gen -p \"${VHOST_PATH}\" -n \"${VHOST_NAME}\" -c /etc/vhost-gen/mass.yml -o \"${VHOST_TPL}\" -s ${VERBOSE} -m ${GEN_MODE}"
3434
if [ -n "${VERBOSE}" ]; then
3535
echo "\$ ${cmd}"
3636
fi

data/docker-entrypoint.d/07-vhost-gen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ vhost_gen_generate_main_vhost() {
9494
fi
9595
# Adding custom nginx vhost template to ensure paths like:
9696
# /vendor/index.php/arg1/arg2 will also work (just like Apache)
97-
run "vhost_gen.py -n localhost -p ${docroot} -t /etc/vhost-gen/templates-main/ -c ${config} -o ${template} ${verbose} -d -s -m ${ssl_type}" "${debug}"
97+
run "vhost-gen -n localhost -p ${docroot} -t /etc/vhost-gen/templates-main/ -c ${config} -o ${template} ${verbose} -d -s -m ${ssl_type}" "${debug}"
9898
fi
9999
}
100100

data/vhost-gen/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ vhost:
7777
ssl_port: 443
7878

7979
# The virtual host name is specified as an command line argument
80-
# to vhost_gen.py via '-n', however it is possible
80+
# to vhost-gen via '-n', however it is possible
8181
# to prepend and/or append additional name strings.
8282
name:
8383
prefix:
8484
suffix:
8585
# The document root directory is specified as an command line argument
86-
# to vhost_gen.py via '-p', however it is possible
86+
# to vhost-gen via '-p', however it is possible
8787
# to prepend another subdirectory here.
8888
docroot:
8989
suffix:

data/vhost-gen/mass.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ vhost:
7777
ssl_port: 443
7878

7979
# The virtual host name is specified as an command line argument
80-
# to vhost_gen.py via '-n', however it is possible
80+
# to vhost-gen via '-n', however it is possible
8181
# to prepend and/or append additional name strings.
8282
name:
8383
prefix:
8484
suffix: __TLD__
8585
# The document root directory is specified as an command line argument
86-
# to vhost_gen.py via '-p', however it is possible
86+
# to vhost-gen via '-p', however it is possible
8787
# to prepend another subdirectory here.
8888
docroot:
8989
suffix: __DOCROOT_SUFFIX__

0 commit comments

Comments
 (0)