benawad / slack-clone-server

The backend for a Slack clone using React and GraphQL
444 stars 149 forks source link

Issue of ngnix with docker-compose #5

Open Yashpk789987 opened 4 years ago

Yashpk789987 commented 4 years ago

I am not able to setup my backend with ngnix.

I am using the same commands in docker-comppose.yml and mysite.template as shown in video

docker-compose.yml

version: '3' services: redis: image: redis networks:

AND mysite.template

server { location / { proxy_pass http://web:8081; } }

I am getting ERROR : cat: /etc/nginx/conf.d/mysite.template: Is a directory server_nginx_1 exited with code 1

Please help me anyone

benawad commented 4 years ago

Make sure mysite.template in that path

Yashpk789987 commented 4 years ago

Yes mysite.template is at right path.

You can see screenshot below. ngnix

Yashpk789987 commented 4 years ago

Yes mysite.template is at right path.

You can see screenshot below. ngnix

I am using windows10

benawad commented 4 years ago

I'm not sure then

Yashpk789987 commented 4 years ago

What should I do?