Skip to content

Commit

Permalink
Fix nginx script
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Dec 26, 2018
1 parent c5d3f38 commit bd1f027
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docker/scripts/init-nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ for TEMPLATE_NAME in ${PACKAGE_DOCKER_FOLDER_CONTAINER}/nginx/conf-dynamic.d/*.c
TEMPLATE_CODE="${BASE_TEMPLATE_CODE}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$COMMON_DOMAIN/$DOMAIN}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$ENVIRONMENT/$ENVIRONMENT}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$TOPDOMAIN/$TOPDOMAIN}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$C_DOMAIN/$C_DOMAIN}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$PARSED_DOMAINS/$ONLY_DOMAINS}"
TEMPLATE_CODE="${TEMPLATE_CODE//\$ROOT_PATH/$REPLACE_ROOT}"

Expand Down
2 changes: 1 addition & 1 deletion docs/ENVIRONMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Property | Values | Description
`DOMAIN_COVERAGE` | `(string)` `Default: not set` | Site coverage domain. (e.g. coverage.sample.io)
`DOMAIN_OPCACHE` | `(string)` `Default: not set` | Site opcache domain. (e.g. opcache.sample.io)
`DOMAIN_CUSTOM_NAME` | `(string)` | Custom domain name. Create nginx config with `# <domains-include>DOMAIN_COMMON</domains-include>` and `server_name $COMMON_DOMAIN;` or copy from `vendor/matthew-p/docker-server/docker/nginx/templates/domain.conf` to `docker/nginx/conf-dynamic.d/custom.conf` and change.
`SSL_DOMAINS` | `(array)` `Default: not ser` | Config letsencrypt ssl domains. Example: `SSL_DOMAINS[0]="[email protected] :sample.io api.sample.io admin.sample.io:"`
`SSL_DOMAINS` | `(array)` `Default: not set` | Config letsencrypt ssl domains. Example: `SSL_DOMAINS[0]="[email protected] :sample.io api.sample.io admin.sample.io:"`

## <a id="project-envs"></a>Project env (service: all)
Property | Values | Description
Expand Down

0 comments on commit bd1f027

Please sign in to comment.