nginx unknown directive “upstream”

后端 未结 3 536
一个人的身影
一个人的身影 2021-02-02 10:55

I\'m using nginx as a proxy server to forward requests onto my gunicorn server. When I run sudo nginx -t -c /etc/nginx/sites-enabled/mysite I get the following erro

3条回答
  •  一整个雨季
    2021-02-02 11:40

    Turns my nginx config was ok. The problem was with my gunicorn server was not running properly.

提交回复
热议问题