Nginx与80上的默认tcp冲突

Nginx与80上的默认tcp冲突,nginx,Nginx,我通过以下配置获得了我的应用程序-CentOs+supervisord+wsgi+nginx+django。 当我尝试在80端口上运行ngix时,出现了一个错误 Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) Jun 04 04:18:47 server.cherrypuss.com nginx[457

我通过以下配置获得了我的应用程序-CentOs+supervisord+wsgi+nginx+django。 当我尝试在80端口上运行ngix时,出现了一个错误

 Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
Jun 04 04:18:47 server.cherrypuss.com nginx[4576]: nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
Jun 04 04:18:48 server.cherrypuss.com nginx[4576]: nginx: [emerg] still could not bind()
Jun 04 04:18:48 server.cherrypuss.com systemd[1]: nginx.service: control process exited, code=exited status=1
Jun 04 04:18:48 server.cherrypuss.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Jun 04 04:18:48 server.cherrypuss.com systemd[1]: Unit nginx.service entered failed state.
Jun 04 04:18:48 server.cherrypuss.com systemd[1]: nginx.service failed.
发生这种情况是因为80端口正被defalut tcp占用

netstat -tulpn | grep :80

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1979/httpd
tcp6       0      0 :::80                   :::*                    LISTEN      1979/httpd
当我杀死80端口上的所有东西(fuser)并执行
服务监督启动
ngix启动并在80端口上正常工作时。我不认为改变nginx在不同端口上工作是我的解决方案,因为我需要监听80端口才能访问我的网站。如何正确配置ngix