mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2026-04-24 01:27:37 +00:00
Merge pull request #102 from dokku/fix-missing-logs-dir
fix: create nginx logs directory for precompiled binary builds
This commit is contained in:
@ -123,6 +123,9 @@ else
|
||||
echo "$NGINX_VERSION" >"${CACHE_DIR}/bin/.nginx-version"
|
||||
fi
|
||||
|
||||
# Create logs directory for nginx's compiled-in default log paths
|
||||
mkdir -p "$BUILD_DIR/nginx/logs"
|
||||
|
||||
# Update the PATH
|
||||
mkdir -p "$BUILD_DIR/.profile.d"
|
||||
cat >"$BUILD_DIR/.profile.d/nginx.sh" <<"EOF"
|
||||
|
||||
Reference in New Issue
Block a user