Skip to content

Commit

Permalink
feat(nginx): $NGINX_AUTOINDEX env
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Sep 10, 2022
1 parent c9272b8 commit 6678435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/container/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ENV NGINX_ERROR_LOG_LEVEL=notice \
NGINX_EXPIRES_HTML=epoch \
NGINX_EXPIRES_STATIC=max \
NGINX_EXPIRES_DEFAULT=5m \
NGINX_AUTOINDEX=off \
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=1

RUN apk add --no-cache curl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ resolver_timeout 5s;

# Sets the maximum allowed size of the client request body
client_max_body_size $NGINX_CLIENT_MAX_BODY_SIZE;

autoindex $NGINX_AUTOINDEX;

0 comments on commit 6678435

Please sign in to comment.