From f8c4827df68352f2d7a8cdb9dd4d7214eb188b64 Mon Sep 17 00:00:00 2001 From: akafeng Date: Sun, 28 Jul 2024 13:36:28 +0800 Subject: [PATCH] sync: updated to 1.27.0 --- .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 2 +- Dockerfile | 4 ++-- README.md | 2 +- config/logrotate | 2 +- config/nginx.conf | 2 +- config/nginx.vhost.default.conf | 2 +- docker-entrypoint.sh | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 76a9731..c1f4727 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -29,4 +29,4 @@ jobs: linux/amd64 linux/arm64/v8 cache-to: type=gha, scope=${{ env.REPOSITORY }}, mode=max - outputs: type=cacheonly \ No newline at end of file + outputs: type=cacheonly diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index caa9e24..271f46a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,4 +46,4 @@ jobs: linux/arm64/v8 cache-from: type=gha, scope=${{ env.REPOSITORY }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 42d661d..86e5386 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM debian:bookworm-slim AS builder -ARG NGINX_VERSION="1.25.4" +ARG NGINX_VERSION="1.27.0" ARG NGINX_GPG_KEY="D6786CE303D9A9022998DC6CC8464D549AF75C0A 13C82A63B603576156E30A4EA0EA981B66B0D967" ARG NGINX_URL="https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" ARG NGINX_PGP_URL="https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz.asc" @@ -256,4 +256,4 @@ EXPOSE 443/udp STOPSIGNAL SIGQUIT -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md index 76e4310..2ad3c38 100644 --- a/README.md +++ b/README.md @@ -36,4 +36,4 @@ $ docker pull ghcr.io/akafeng/nginx ### Thanks - [@metowolf](http://github.com/metowolf) -- [@kn007](https://github.com/kn007) \ No newline at end of file +- [@kn007](https://github.com/kn007) diff --git a/config/logrotate b/config/logrotate index 5ca585d..a191c13 100755 --- a/config/logrotate +++ b/config/logrotate @@ -12,4 +12,4 @@ kill -USR1 `cat /var/run/nginx.pid` fi endscript -} \ No newline at end of file +} diff --git a/config/nginx.conf b/config/nginx.conf index 2a4e7a6..6ade090 100755 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -58,4 +58,4 @@ http { brotli_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml; include /etc/nginx/conf.d/*.conf; -} \ No newline at end of file +} diff --git a/config/nginx.vhost.default.conf b/config/nginx.vhost.default.conf index 4c24cf7..f2281d0 100755 --- a/config/nginx.vhost.default.conf +++ b/config/nginx.vhost.default.conf @@ -6,4 +6,4 @@ server { index index.html index.htm; error_page 500 502 503 504 /50x.html; -} \ No newline at end of file +} diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 5c136c2..204a2e9 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -10,4 +10,4 @@ if [ "${1#-}" != "$1" ]; then set -- nginx "$@" fi -exec "$@" \ No newline at end of file +exec "$@"