質問編集履歴

3

2019/07/03 15:00

投稿

soft_admin
soft_admin

スコア63

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,4 @@
1
1
  nginxのサーバーをSSL化させようと思い設定中です。
2
-
3
- さくらの
4
2
 
5
3
 
6
4
 

2

s

2019/07/03 15:00

投稿

soft_admin
soft_admin

スコア63

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,6 @@
1
- nginxのサーバーをSSL化させようと思い設定中なのですが、
1
+ nginxのサーバーをSSL化させようと思い設定中です
2
+
3
+ さくらの
2
4
 
3
5
 
4
6
 

1

2019/07/03 14:59

投稿

soft_admin
soft_admin

スコア63

test CHANGED
File without changes
test CHANGED
@@ -24,4 +24,44 @@
24
24
 
25
25
  ```
26
26
 
27
+
28
+
29
+ **・nginx.conf**
30
+
31
+ ```
32
+
33
+ server {
34
+
35
+ listen 443 ssl;
36
+
37
+ server_name localhost;
38
+
39
+ ssl_certificate /etc/httpd/conf/server.crt;
40
+
41
+ ssl_certificate_key /etc/httpd/conf/server.key;
42
+
43
+
44
+
45
+ root /usr/share/nginx/html;
46
+
47
+
48
+
49
+ location / {
50
+
51
+ index index.html;
52
+
53
+ }
54
+
55
+
56
+
57
+ error_page 500 502 503 504 400 410 403 /error.html;
58
+
59
+
60
+
61
+ }
62
+
63
+ ```
64
+
65
+
66
+
27
67
  というエラーが発生します。対処法をご存じの方はいらっしゃいませんでしょうか?