From ccf30b0665fa39f8b7d7366ba695c778ac435aa0 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 22 Sep 2022 16:13:56 -0700 Subject: [PATCH] Run update.sh --- nginx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/README.md b/nginx/README.md index 8f9c593f4..cd8b72161 100644 --- a/nginx/README.md +++ b/nginx/README.md @@ -164,7 +164,7 @@ This behavior can be changed via the following environment variables: ## Running nginx in read-only mode -To run nginx in read-only mode, you will need to mount a Docker volume to every location where nginx writes information. The default nginx configuration requires write access to `/var/cache` and `/var/run`. This can be easily accomplished by running nginx as follows: +To run nginx in read-only mode, you will need to mount a Docker volume to every location where nginx writes information. The default nginx configuration requires write access to `/var/cache/nginx` and `/var/run`. This can be easily accomplished by running nginx as follows: ```console $ docker run -d -p 80:80 --read-only -v $(pwd)/nginx-cache:/var/cache/nginx -v $(pwd)/nginx-pid:/var/run nginx