Closed josephpage closed 8 years ago
To do : Add documentation about read-only mode and the new volume /var/nginx
.
I'm not sure this volume needs to be declared in the Dockerfile. It complicates things a little, as now you need to use docker rm -v
when removing NginX container (e.g. during updates), otherwise all these volumes will accumulate on the machine.
On the other hand, you can always specify this volume in the command line if you wish, this will have the same effect as VOLUME
directive in the Dockerfile:
docker run -v /var/nginx ... ficusio/openresty
What do you think?
Makes sense !
So the unified path /var/nginx
should be documented in README.
--http-fastcgi-temp-path
should be passed.docker diff
shows some files are added in/var/nginx
today. So I suggest to add a volume for this path.Today :
After this PR :