Skip to content

update #102

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5.0.0
uses: docker/metadata-action@v5.5.1
with:
images: ${{ env.IMAGE_NAME }}
flavor: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG ALPINE_VERSION=3.17.3
ARG NGINX_VERSION=1.24.0
ARG ALPINE_VERSION=3.19.1
ARG NGINX_VERSION=1.25.4
ARG NGX_BROTLI_COMMIT=6e975bcb015f62e1f303054897783355e2a877dc
ARG CONFIG="\
--prefix=/etc/nginx \
Expand Down
20 changes: 19 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,30 @@ http {

sendfile on;
#tcp_nopush on;
server_tokens off;

keepalive_timeout 65;

# keepalive_timeout 65;

# gzip on;
# brotli on;
# brotli_static on;

keepalive_timeout 300;
client_max_body_size 1024m;

types_hash_max_size 2048;
types_hash_bucket_size 64;

gzip on;
gzip_static on;
gzip_types text/plain text/css text/xml text/javascript application/json application/ld+json application/pdf application/rtf application/x-xls application/xlsx application/xml application/xhtml+xml application/javascript application/wasm image/svg+xml application/x-font-ttf application/font-woff font/woff font/woff2;

brotli on;
brotli_static on;
brotli_types text/plain text/css text/xml text/javascript application/json application/ld+json application/pdf application/rtf application/x-xls application/xlsx application/xml application/xhtml+xml application/javascript application/wasm image/svg+xml application/x-font-ttf application/font-woff font/woff font/woff2;



include /etc/nginx/conf.d/*.conf;
}