From e31618df32cc4c7b9310bfbde192fa63cff8006c Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Wed, 25 Oct 2023 21:35:27 -0500 Subject: [PATCH 1/3] Create /var/www/html and set workdir --- nginx/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 54b9bdf..25d48b8 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1,6 +1,11 @@ FROM nginx:latest -RUN mkdir -p /etc/nginx/nginx_configs +RUN mkdir -p /etc/nginx/nginx_configs \ + && mkdir -p /var/www/html \ + && chown -R www-data:www-data /var/www/html + +WORKDIR /var/www/html + COPY nginx_configs/security /etc/nginx/nginx_configs/security COPY nginx_configs/includes /etc/nginx/nginx_configs/includes COPY security/automatticips.inc /etc/nginx/nginx_configs/security/automatticips.inc From f95361c5807e5db0c6a8a1ed84260a57ab2d9314 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Wed, 25 Oct 2023 21:49:01 -0500 Subject: [PATCH 2/3] Log errors in php --- phpfpm/php.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/phpfpm/php.ini b/phpfpm/php.ini index 0efc49e..54f29d7 100644 --- a/phpfpm/php.ini +++ b/phpfpm/php.ini @@ -3,3 +3,4 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS display_errors = Off +log_errors = On From 1e02ae94c027e46f16743ee3553c733a1b5b3234 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Wed, 25 Oct 2023 21:50:00 -0500 Subject: [PATCH 3/3] Native phpfpm arm only for now --- .github/workflows/build-phpfpm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-phpfpm.yml b/.github/workflows/build-phpfpm.yml index 195e350..7133574 100644 --- a/.github/workflows/build-phpfpm.yml +++ b/.github/workflows/build-phpfpm.yml @@ -24,6 +24,8 @@ jobs: build: uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main with: + runs-on: "linux-arm64" + docker-platforms: "linux/arm64" docker-context: "./phpfpm" dockerfile: "./phpfpm/Dockerfile" image_subpath: "phpfpm"