Skip to content

Commit a69ac9d

Browse files
author
Dmitry Savonin
committed
fixed nginx conf env replacement
1 parent 3265723 commit a69ac9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ services:
184184
- ./nginx.conf:/nginx.conf
185185
ports:
186186
- "443:443"
187-
command: /bin/bash -c "envsubst < /nginx.conf > /etc/nginx/conf.d/00-default.conf && nginx -g 'daemon off;'"
187+
command: /bin/bash -c "envsubst '${DOMAIN_NAME}' < /nginx.conf > /etc/nginx/conf.d/00-default.conf && nginx -g 'daemon off;'"
188188
restart: always
189189

190190
volumes:

0 commit comments

Comments
 (0)