teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

追記

2018/12/09 08:33

投稿

CID8705
CID8705

スコア36

title CHANGED
File without changes
body CHANGED
@@ -41,4 +41,22 @@
41
41
 
42
42
  ### 補足情報
43
43
 
44
- CentOS(7.x)
44
+ CentOS(7.x)
45
+
46
+ ### 追記
47
+
48
+ nginxコマンドを実行してみたところアドレスが重なって起動に失敗しているようです。
49
+ ```
50
+ # sudo nginx
51
+ nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
52
+ nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
53
+ nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
54
+ nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
55
+ nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
56
+ nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
57
+ nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
58
+ nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
59
+ nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
60
+ nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
61
+ nginx: [emerg] still could not bind()
62
+ ```

1

2018/12/09 08:33

投稿

CID8705
CID8705

スコア36

title CHANGED
File without changes
body CHANGED
@@ -17,8 +17,8 @@
17
17
  server_name ドメイン;
18
18
  ssl on;
19
19
  gzip on;
20
- ssl_certificate /---/cert.pem$
20
+ ssl_certificate /---/cert.pem
21
- ssl_certificate_key /---/privkey.pem$
21
+ ssl_certificate_key /---/privkey.pem
22
22
  ssl_stapling on;
23
23
  ssl_stapling_verify on;
24
24
  ssl_trusted_certificate /---/fullchain.pem