Skip to content

Commit

Permalink
feat(nginx-storage): change NGINX_OPEN_FILE_CACHE
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed May 19, 2023
1 parent 9d4e33d commit 829cd1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/container/nginx-storage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ARG ALWATR_NGINX_VERSION=1.6.0-1.24-alpine
FROM ghcr.io/alimd/nginx:$ALWATR_NGINX_VERSION

# Default environment for nginx template
ENV NGINX_OPEN_FILE_CACHE_INACTIVE=1s \
NGINX_OPEN_FILE_CACHE_VALID=2s \
ENV NGINX_OPEN_FILE_CACHE_INACTIVE=20s \
NGINX_OPEN_FILE_CACHE_VALID=1m \
NGINX_DOCUMENT_ROOT=/storage/publistore \
NGINX_EXPIRES_DYNAMIC=epoch \
NGINX_EXPIRES_STATIC=max \
Expand Down

0 comments on commit 829cd1d

Please sign in to comment.