nginx: [emerg] “http” directive is not allowed here in /etc/nginx/sites-enabled/default:1

后端 未结 4 1578
旧时难觅i
旧时难觅i 2020-12-15 03:01

I\'m new to NGINX and I\'m trying to setup minimal working thing. So I trying to run aiohttp mini-app with nginx and supervisor (by this example). But I can\'t configure Ngi

4条回答
  •  自闭症患者
    2020-12-15 03:54

    So, actually the problem was in the second server keyword. I used an example from aiohttp docs, and looks like they mistyped with "server example.com" instead of server_name example.com.

提交回复
热议问题