Skip to content

Docker手动安装出错 #65

@helloxz

Description

@helloxz

使用官方提供的yaml文件:https://github.com/Safe3/openresty-manager/blob/main/docker/docker-compose.yml

安装后启动报错,查看日志显示:

failed to start OpenResty: nginx: [emerg] open() "/opt/om/nginx/conf/proxy_cache_force.conf" failed (2: No such file or directory) in /opt/om/nginx/conf/sites/1.conf:26

然后我去看了1.conf,内容为:

include proxy_cache_force.conf;

从报错看是proxy_cache_force.conf文件不存在引起(find查找确实没看到这个文件),将这个配置注释后重启解决问题。那么存在以下疑惑:

  1. 容器安装的为啥会内置默认站点呢(1.conf),且这个站点设置的主机名是:www.uusec.com
  2. 这个是容器镜像构建的时候弄错了吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions