always reconfigure server
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
d7bf7fdff8
commit
4a0e53bc6f
@ -1,4 +1,4 @@
|
||||
FROM buildpack-deps:focal
|
||||
FROM buildpack-deps:stable
|
||||
|
||||
ENV NGINX_VERSION nginx-1.19.2
|
||||
ENV NGINX_RTMP_MODULE_VERSION 1.2.1
|
||||
|
@ -3,11 +3,6 @@
|
||||
NGINX_CONF=/etc/nginx/nginx.conf
|
||||
NGINX_INGEST_CONF=/etc/nginx/nginx_ingest.conf
|
||||
NGINX_RESTREAM_CONF=/etc/nginx/nginx_restream.conf
|
||||
if test -f "$NGINX_CONF"; then
|
||||
nginx -g daemon off;
|
||||
exit 0
|
||||
fi
|
||||
|
||||
function mfcb { local val="$4"; "$1"; eval "$2[$3]=\$val;"; };
|
||||
function val_ltrim { if [[ "$val" =~ ^[[:space:]]+ ]]; then val="${val:${#BASH_REMATCH[0]}}"; fi; };
|
||||
function val_rtrim { if [[ "$val" =~ [[:space:]]+$ ]]; then val="${val:0:${#val}-${#BASH_REMATCH[0]}}"; fi; };
|
||||
|
Loading…
Reference in New Issue
Block a user