質問編集履歴
3
リンク間違い修正、使用コンテナ追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,13 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
#### 追記
|
14
|
+
|
15
|
+
nginxコンテナ、php-fpmコンテナにwordpressを手動でインストールしています。
|
16
|
+
|
17
|
+
|
18
|
+
|
13
|
-
[letsencrypt-nginx-proxy-companionを使って複数ドメイン名に無料SSL証明書を適用する](https://qiita.com/fukuyama012/items/5d4390ae4a34ba477cef
|
19
|
+
[letsencrypt-nginx-proxy-companionを使って複数ドメイン名に無料SSL証明書を適用する](https://qiita.com/fukuyama012/items/5d4390ae4a34ba477cef)
|
14
20
|
|
15
21
|
|
16
22
|
|
2
追記2
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,6 +70,16 @@
|
|
70
70
|
|
71
71
|
|
72
72
|
|
73
|
+
### 追記2
|
74
|
+
|
75
|
+
[https://wordpress.org/support/article/using-permalinks/](https://wordpress.org/support/article/using-permalinks/)
|
76
|
+
|
77
|
+
リンクの内容からパーマリンクの設定を確認したところ`https://xxx.com/?p=123`のデフォルトになっていたので変更したところ`https://xxx.com/wp-json/wp/v2/posts/`にアクセスしてJSONデータを受け取ることができるようになりました。
|
78
|
+
|
79
|
+
ということでrest apiは使えるようになったのですが、`Health Check & Troubleshooting`のエラーは変わらず表示されています…
|
80
|
+
|
81
|
+
|
82
|
+
|
73
83
|
### nginxの設定
|
74
84
|
|
75
85
|
```
|
1
追記1
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,6 +64,12 @@
|
|
64
64
|
|
65
65
|
|
66
66
|
|
67
|
+
### 追記1
|
68
|
+
|
69
|
+
`https://xxx.com/?rest_route=/wp/v2/`でアクセスしたところJSONデータを取得することができました!
|
70
|
+
|
71
|
+
|
72
|
+
|
67
73
|
### nginxの設定
|
68
74
|
|
69
75
|
```
|