We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170aab3 commit 3ca2d6aCopy full SHA for 3ca2d6a
nginx/README.md
@@ -137,7 +137,7 @@ web:
137
environment:
138
- NGINX_HOST=foobar.com
139
- NGINX_PORT=80
140
- command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
+ command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
141
```
142
143
The `mysite.template` file may then contain variable references like this:
0 commit comments