View logs for a container or service
ln -sf /dev/stdout /var/log/nginx/access.log
sed -ri -e 's!^(s*CustomLog)s+S+!1 /proc/self/fd/1!g' -e 's!^(s*ErrorLog)s+S+!1 /proc/self/fd/2!g' "$HTTPD_PREFIX/conf/httpd.conf"
ln -sf /dev/stdout /var/log/nginx/access.log
sed -ri -e 's!^(s*CustomLog)s+S+!1 /proc/self/fd/1!g' -e 's!^(s*ErrorLog)s+S+!1 /proc/self/fd/2!g' "$HTTPD_PREFIX/conf/httpd.conf"