Sign inSign up

chrishiestand/nginx-static-base

By chrishiestand

•Updated over 8 years ago

base nginx configuration for serving static files

Image
0

595

chrishiestand/nginx-static-base repository overview

⁠docker-nginx-static-base

base nginx configuration for static files

⁠To build on top of this, example Dockerfile

FROM chrishiestand/nginx-static-base:1.13

USER root

# Copy snakeoil certs so nginx will start, mount-over proper cert/key in production
COPY etc/snakeoil.crt /opt/tls/kistek.consulting/tls.crt
COPY etc/snakeoil.key /opt/tls/kistek.consulting/tls.key

COPY etc/nginx-vhosts.conf /etc/nginx/nginx-http/vhosts.conf

COPY webroot /www/site

USER guest

Tag summary

Content type

Image

Digest

Size

7.5 MB

Last updated

over 8 years ago

docker pull chrishiestand/nginx-static-base