4 lines
117 B
Bash
4 lines
117 B
Bash
|
#!/bin/bash
|
||
|
envsubst '$SERVER_ADDR' < /tmp/default.conf > /etc/nginx/conf.d/default.conf \
|
||
|
&& nginx -g 'daemon off;'
|