mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

- turned off server tokens so the server does not leak nginx information on errors and header - Added header to turn off cross site scripting - use stable release of nginx instead of mainline - limit available methods - update response code
12 lines
298 B
Docker
12 lines
298 B
Docker
FROM nginx:stable
|
|
LABEL maintainer "dev@bigchaindb.com"
|
|
WORKDIR /
|
|
RUN apt-get update \
|
|
&& apt-get -y upgrade \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
COPY nginx.conf.template /etc/nginx/nginx.conf
|
|
COPY nginx_entrypoint.bash /
|
|
EXPOSE 80 443 27017
|
|
ENTRYPOINT ["/nginx_entrypoint.bash"]
|