Skip to content

Commit

Permalink
fix(nginx): update base image to version 3.3.5 and modify CORS methods
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 11, 2024
1 parent c7cc148 commit 18bd47e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ghcr.io/alwatr/nginx-json:3.3.3
FROM ghcr.io/alwatr/nginx-json:3.3.5

LABEL org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:3.3.3"
LABEL org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:3.3.5"

HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --start-interval=1s --retries=3 CMD curl -fso /dev/null --header 'authorization: Alwatr healthcheck:healthcheck' http://localhost/server-info || exit 1

Expand All @@ -22,7 +22,7 @@ ENV NGINX_DOCUMENT_ROOT=/data \
NGINX_DISABLE_SYMLINKS=if_not_owner \
NGINX_CORS_ENABLE="" \
NGINX_CORS_ORIGIN="*" \
NGINX_CORS_METHODS="GET" \
NGINX_CORS_METHODS="GET, OPTIONS" \
NGINX_CORS_HEADERS="*" \
NGINX_CORS_MAXAGE=86400

Expand Down

0 comments on commit 18bd47e

Please sign in to comment.