Skip to content

Needs writable volume at /var/lib/nginx/ #1

@brandond

Description

@brandond

Container fails to start without writable /var/lib/nginx/logs/, /var/lib/nginx/tmp/, and /var/log/nginx/

nginx: [alert] could not open error log file: open() "/var/lib/nginx/logs/error.log" failed (13: Permission denied)
2020/01/10 19:29:33 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:3
2020/01/10 19:29:33 [emerg] 1#1: mkdir() "/var/lib/nginx/tmp/client_body" failed (13: Permission denied
nginx: [emerg] open() "/var/log/nginx/error.log" failed (13: Permission denied)

This should be covered in the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions