AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-162287

user974407's questions

Martin Hope
user974407
Asked: 2014-01-11 10:17:33 +0800 CST

每个子域都需要自己的 SSL 证书吗?

  • 85

我正在创建一个 websocket 服务器,它将在ws.mysite.example. 我希望 Web 套接字服务器进行 SSL 加密以及domain.exampleSSL 加密。我是否需要为我创建的每个子域购买新证书?我创建的每个子域都需要一个专用 IP 地址吗?我可能会有多个子域。

我正在使用在 Ubuntu 上运行的 NGINX 和 Gunicorn。

ssl
  • 4 个回答
  • 202935 Views
Martin Hope
user974407
Asked: 2013-03-01 06:47:44 +0800 CST

Nginx 未运行。没有收到任何错误

  • 1

如果我跑:

$ sudo service nginx status
* nginx is not running

然后我跑:

$ sudo service nginx start
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
...
nginx: [emerg] still could not bind()

所以我杀了它:

sudo fuser -k 80/tcp

所以我尝试再次启动 Nginx:

$ sudo service nginx start
Starting nginx: nginx.

现在应该正在运行,对吧?:

$ sudo service nginx status
* nginx is not running

我试过了:

$ ps aux | grep nginx
root      1316  0.0  0.2  64988  1236 ?        Ss   14:37   0:00 nginx: master process /usr/sbin/nginx
nobody    1317  0.0  0.3  65408  1908 ?        S    14:37   0:00 nginx: worker process
myusername     1436  0.0  0.1   9388   876 pts/2    S+   14:40   0:00 grep nginx

当我访问该站点的 ip 时。nginx/1.2.1我在底部收到一条 404 消息。在我看来,它实际上正在运行。我在 nginx.conf 中阻止了 ip 地址,我测试了这些 ip 目前正在被阻止。所以我对 Nginx 是否正在运行以及如何抓住这个野兽感到困惑。
我的最终目标是让 Gunicorn 也能运行。奇怪的是这一切昨天都在工作。Gunicorn 和 Nginx 的状态均为working.

nginx
  • 3 个回答
  • 2579 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve