Dockerfile for proxying s3 resources with nginx
This commit is contained in:
parent
91bb927cf5
commit
0f96719383
@ -1,9 +1,8 @@
|
||||
FROM nginx
|
||||
ARG SRC
|
||||
RUN mkdir -p /var/www/blog.shockrah.xyz
|
||||
FROM ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway:latest
|
||||
ENV AWS_SIGS_VERSION=2 \
|
||||
S3_STYLE=virtual \
|
||||
PROVIDE_INDEX_PAGE=true \
|
||||
S3_SERVER_PORT=443 \
|
||||
S3_SERVER_PROTO=https \
|
||||
ALLOW_DIRECTORY_LIST=false
|
||||
|
||||
# TODO: let's not make this permanent
|
||||
COPY shockrah.xyz /var/www/shockrah.xyz
|
||||
COPY resume.shockrah.xyz /var/www/resume.shockrah.xyz
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
Loading…
Reference in New Issue
Block a user