smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

Fix nginx /var/lib/nginx permission issue #2

Closed sandytrinh closed 9 years ago

sandytrinh commented 9 years ago

This PR replaced the /tmp/nginx directory in alpine-consul-nginx and alpine-nginx dockerfile with a chown on /var/lib/nginx instead to resolve permission issue like below:

open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied)

@smebberson Please review!

smebberson commented 9 years ago

@sandytrinh, just republished the following on Docker Hub: