0

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!

Jose
  • 11
  • 2
  • I'd _guess_ you have `error_log off;` and it's interpreting it as a path or similar, but since your question did not include any configuration, we're left to just guess – mdaniel Sep 25 '22 at 03:38

0 Answers0