consensus/docker/nginx/Dockerfile
DataHoarder 4ef60296f1
Updated to Go 1.21
* Replaced exp/slices and exp/maps with slices/maps implementation
* Replaced utils.Min/Max with min/max
* Introduced GOEXPERIMENT=loopvar on build steps
* Updated tests/docker-compose to go1.21-rc-alpine
* Updated nginx to 1.25
* Preallocate mined blocks on Sidechain
* Update edwards25519 version
2023-07-20 07:40:18 +02:00

11 lines
328 B
Docker

FROM nginx:1.25-alpine
COPY static /web
COPY snippets/*.conf /etc/nginx/snippets/
COPY http.conf /etc/nginx/conf.d/http.conf
COPY site.conf /etc/nginx/conf.d/site.conf
ARG TOR_SERVICE_ADDRESS
RUN echo "add_header Onion-Location \"http://${TOR_SERVICE_ADDRESS}\$request_uri\" always;" > /etc/nginx/snippets/onion-headers.conf