Skip to content

Commit

Permalink
Merge pull request #273 from AliMD/feat/containers
Browse files Browse the repository at this point in the history
feat(nginx): $NGINX_AUTOINDEX env
  • Loading branch information
alimd authored Sep 10, 2022
2 parents 5cdbad2 + 6678435 commit e794d0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/classic-cloud/traefik-proxy/_up.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
U2FsdGVkX19+DlxjiNoDdTisw4mN6wFmdcIlISp8KAAv1v7yqw7LB/AmDJQ1N4L1
S7jOaUG+H06Z14cg/0aEPg5I084YfyCfywoOnwVkCDtku5gbp5wlhAL2GH/GZGnD
R+SXxdyTSPix4jBzdh6kMa42l6wuIzmQNWbYV3ZN1ESXpidrbFtIT+blerk+xPbX
ijmyTsOKX8aPV81/siKw3/lsE46yp5dWeNdAwThQUwt6TcKV/u3YO+2XMt5KtblY
5XJQUU8jhQaLBYDdFZWyd4jqdy6NV+NYju1wrRxW1wiXNYouJIUFnyeobq7mFpf/
Ygd85rwrm56lG+qgbr6leW2F+qyvYpSq0aj8JXJeXolhggqRaKLFDQ8stgvfIQQm
U2FsdGVkX19VzLlPx+SbAidh/6teFb27N+2nPSr5nOMchO/p+hWVSlyDkZjenVXX
enxR6tJ+SsfeQbUbhYP3IAhUsz9ZM+5ckvkpegODU57cdqJeNNf6hEMvhMn2mCcM
Sa70WsqNZrSLl9vuoyE70DiH66HUkazrcmNzfDhFR8qd+mM62Tq/37XpIstcBchE
ZgGxpgMSHIUA8BLQ+gj+3uiZPvStfjE+DASCIosjcLVQM6GtdyAorKabyn+DF7ux
Fm4/iLoQHk225dpystUBw+XXgeNdAUnNPdPpv43+5Q0bGHCFuyRaKlvDTwo1Pa2D
YMzqioLgqS5hD/zGm4L5TidwFXRXxUOlQzbpqcz/scd/znb6lioNvB4BhhV9DXH1
1ws/meoTz0oma4qdXrn+0w==
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 e794d0d

Please sign in to comment.