Compare commits

...

2 Commits

Author SHA1 Message Date
5de2b67275 fix log path in php7.4
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 11s
Container Publish / build-image (amd64) (push) Successful in 17s
Container Publish / update docker manifest (push) Successful in 9s
2025-07-31 17:22:27 +02:00
1857bd66c5 fix chmod if dir not exists in php 7.4 2025-07-31 17:20:31 +02:00
2 changed files with 5 additions and 3 deletions

View File

@@ -79,7 +79,9 @@ if [ -f /ssh/authorized_keys ] ; then
chown "${USERNAME}:${GROUPNAME}" /ssh/authorized_keys
fi
chmod 0700 "${WEBROOT}/.ssh"
if [ -d "${PATH_WEBROOT}/.ssh" ] ; then
chmod 0700 "${PATH_WEBROOT}/.ssh"
fi
/usr/sbin/sshd -e
cat > /etc/nginx/conf.d/user.conf <<EOF

View File

@@ -9,7 +9,7 @@ worker_processes auto;
pcre_jit on;
# Configures default error logger.
error_log /data/logs/nginx-error.log warn;
error_log /var/log/nginx/error.log warn;
# Includes files with directives to load dynamic modules.
include /etc/nginx/modules/*.conf;
@@ -96,7 +96,7 @@ http {
'"$http_user_agent" "$http_x_forwarded_for"';
# Sets the path, format, and configuration for a buffered log write.
access_log /data/logs/nginx-access.log main;
access_log /var/log/nginx/access.log main;
# Includes virtual hosts configs.