新 vps 上用 docker 起了个 nginx ,挂载的目录,compose 文件配置如下,up 后但是总是提示 nginx: [emerg] open() "/etc/nginx/sites-enabled/test.live.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:61 请问我那里理解错了呢?
version: '3'
services:
nginx:
image: nginx
container_name: nginx
volumes:
- /home/test/data/nginx-data:/etc/nginx
ports:
- "80:80"