5 lines
218 B
Text
5 lines
218 B
Text
#!/usr/bin/with-contenv bashio
|
|
IMG_DIR="$(bashio::config 'image_path')"
|
|
bashio::log.info "Starting nginx..."
|
|
nginx -g "location /input_img { root $IMG_DIR; }" -c /etc/nginx/nginx.conf
|
|
bashio::log.info "nginx running."
|