#!/usr/bin/with-contenv bash
mkdir -p /tmp/nginx /config/{nginx,logs,access} /config/nginx/stream /var/lib/nginx/cache/{public,private}
chown root /tmp/nginx
exec nginx