I am trying to run a nginx container in readonly rootfs but when nginx tries to start it complains about :
[emerg] 10#10: open() "/var/lib/nginx/off" failed (30: Read-only file system)
nginx: [emerg] open() "/var/lib/nginx/off" failed (30: Read-only file system)
Where does that file come from ?
I have already added the following to nginx.conf
client_body_temp_path /tmp 1 2;
proxy_temp_path /tmp 1 2;
fastcgi_temp_path /tmp 1 2;
uwsgi_temp_path /tmp 1 2;
scgi_temp_path /tmp 1 2;
Any help will be really appreciated!