...
webserver:
# build:
# context: ./docker/nginx/
# dockerfile: nginx.docker
image: nginx
container_name: webserver
restart: unless-stopped
tty: true
ports:
- "80:80"
- "443:443"
volumes:
- ./www:/var/www
- ./hosts/:/etc/nginx/conf.d
- ./logs:/var/log/nginx
- /etc/group:/etc/group:ro
- /etc/passwd:/etc/passwd:ro
links:
- app
- db
networks:
- laravel-network
...
webserver | nginx: [emerg] getpwnam("nginx") failed in /etc/nginx/nginx.conf:2
apt install
и все завелось /news/news-name
.
вывод wsl -l -v:
Соответвенно выполняю:
Ubuntu20.04 config --default-user user
и получаю ошибку