質問編集履歴
6
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -212,39 +212,33 @@
|
|
212
212
|
|
213
213
|
```
|
214
214
|
|
215
|
-
12
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
1
|
220
|
-
|
221
|
-
1
|
222
|
-
|
223
|
-
1
|
224
|
-
|
225
|
-
1
|
226
|
-
|
227
|
-
1
|
228
|
-
|
229
|
-
1
|
230
|
-
|
231
|
-
1
|
232
|
-
|
233
|
-
1
|
234
|
-
|
235
|
-
115.165.12.59 - - [0
|
236
|
-
|
237
|
-
1
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
115.165.12.59 - - [06/Jun/2020:23:21:27 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
244
|
-
|
245
|
-
115.165.12.59 - - [06/Jun/2020:23:21:30 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
246
|
-
|
247
|
-
115.165.12.59 - - [06/Jun/2020:23:21:32 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
|
215
|
+
122.51.94.168 - - [07/Jun/2020:06:04:15 +0000] "GET /html/public/index.php HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
216
|
+
|
217
|
+
122.51.94.168 - - [07/Jun/2020:06:04:16 +0000] "GET /public/index.php HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
218
|
+
|
219
|
+
122.51.94.168 - - [07/Jun/2020:06:04:16 +0000] "GET /TP/html/public/index.php HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
220
|
+
|
221
|
+
122.51.94.168 - - [07/Jun/2020:06:04:17 +0000] "GET /elrekt.php HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
222
|
+
|
223
|
+
122.51.94.168 - - [07/Jun/2020:06:04:18 +0000] "GET /index.php HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
224
|
+
|
225
|
+
122.51.94.168 - - [07/Jun/2020:06:04:19 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0;en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6)" "-"
|
226
|
+
|
227
|
+
218.35.154.40 - - [07/Jun/2020:08:06:44 +0000] "GET / HTTP/1.1" 400 157 "-" "-" "-"
|
228
|
+
|
229
|
+
195.54.160.135 - - [07/Jun/2020:08:08:14 +0000] "GET /solr/admin/info/system?wt=json HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" "-"
|
230
|
+
|
231
|
+
195.54.160.135 - - [07/Jun/2020:08:14:04 +0000] "GET /?a=fetch&content=<php>die(@md5(HelloThinkCMF))</php> HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Windows NT10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" "-"
|
232
|
+
|
233
|
+
195.54.160.135 - - [07/Jun/2020:08:14:05 +0000] "GET /?XDEBUG_SESSION_START=phpstorm HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" "-"
|
234
|
+
|
235
|
+
115.165.12.59 - - [07/Jun/2020:08:26:54 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
236
|
+
|
237
|
+
195.54.160.135 - - [07/Jun/2020:08:27:16 +0000] "GET /index.php?s=/Index/\x5Cthink\x5Capp/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" "-"
|
238
|
+
|
239
|
+
66.249.66.203 - - [07/Jun/2020:08:42:59 +0000] "GET /robots.txt HTTP/1.1" 404 3665 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
|
240
|
+
|
241
|
+
66.249.66.201 - - [07/Jun/2020:08:42:59 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36(KHTML, like Gecko) Chrome/80.0.3987.92 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
|
248
242
|
|
249
243
|
```
|
250
244
|
|
@@ -256,28 +250,28 @@
|
|
256
250
|
|
257
251
|
```
|
258
252
|
|
259
|
-
|
260
|
-
|
261
|
-
2020/06/0
|
262
|
-
|
263
|
-
2020/06/06
|
264
|
-
|
265
|
-
2020/06/07 00:
|
266
|
-
|
267
|
-
2020/06/07 00:
|
268
|
-
|
269
|
-
2020/06/07 00:
|
270
|
-
|
271
|
-
2020/06/07 00:
|
272
|
-
|
273
|
-
2020/06/07 00:
|
274
|
-
|
275
|
-
2020/06/07 00:
|
276
|
-
|
277
|
-
2020/06/07 00:
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
```
|
253
|
+
/latest/dynamic/instance-identity/document HTTP/1.1", host: "[::ffff:a9fe:a9fe]"
|
254
|
+
|
255
|
+
2020/06/07 01:58:01 [error] 4548#0: *47 "/usr/share/nginx/html/HNAP1/index.php" is not found (2: No such file or directory), client: 178.32.89.137, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /HNAP1/ HTTP/1.1", host: "54.250.209.6", referrer: "http://54.250.209.6/"
|
256
|
+
|
257
|
+
2020/06/07 06:04:13 [error] 4548#0: *61 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
258
|
+
|
259
|
+
2020/06/07 06:04:14 [error] 4548#0: *63 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:",host: "54.250.209.6"
|
260
|
+
|
261
|
+
2020/06/07 06:04:15 [error] 4548#0: *65 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /thinkphp/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
262
|
+
|
263
|
+
2020/06/07 06:04:15 [error] 4548#0: *67 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
264
|
+
|
265
|
+
2020/06/07 06:04:16 [error] 4548#0: *69 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
266
|
+
|
267
|
+
2020/06/07 06:04:16 [error] 4548#0: *71 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
268
|
+
|
269
|
+
2020/06/07 06:04:17 [error] 4548#0: *73 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 122.51.94.168, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /elrekt.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
270
|
+
|
271
|
+
2020/06/07 08:08:14 [error] 4548#0: *80 open() "/usr/share/nginx/html/solr/admin/info/system" failed (2: No such file or directory), client: 195.54.160.135, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /solr/admin/info/system?wt=json HTTP/1.1", host: "54.250.209.6:80"
|
272
|
+
|
273
|
+
2020/06/07 08:42:59 [error] 4548#0: *90 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 66.249.66.203, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /robots.txt HTTP/1.1", host: "ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com"
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
```
|
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -244,12 +244,40 @@
|
|
244
244
|
|
245
245
|
115.165.12.59 - - [06/Jun/2020:23:21:30 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
246
246
|
|
247
|
-
115.165.12.59 - - [06/Jun/2020:23:21:32 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
247
|
+
115.165.12.59 - - [06/Jun/2020:23:21:32 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
|
248
|
+
|
249
|
+
```
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
「/var/log/nginx/error.log」は以下になります。
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
```
|
258
|
+
|
259
|
+
020/06/06 22:53:50 [error] 3478#0: *2 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 115.165.12.59, server: _,request: "GET /favicon.ico HTTP/1.1", host: "ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com", referrer: "http://ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com/index.php"
|
260
|
+
|
261
|
+
2020/06/06 23:43:49 [error] 4081#0: *25 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 115.165.12.59, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /favicon.ico HTTP/1.1", host: "ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com"
|
262
|
+
|
263
|
+
2020/06/06 23:51:49 [error] 4174#0: *16 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 115.165.12.59, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /favicon.ico HTTP/1.1", host: "ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com", referrer: "http://ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com/"
|
264
|
+
|
265
|
+
2020/06/07 00:23:01 [error] 4174#0: *21 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
266
|
+
|
267
|
+
2020/06/07 00:23:01 [error] 4174#0: *23 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:",host: "54.250.209.6"
|
268
|
+
|
269
|
+
2020/06/07 00:23:02 [error] 4174#0: *25 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /thinkphp/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
270
|
+
|
271
|
+
2020/06/07 00:23:02 [error] 4174#0: *27 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
272
|
+
|
273
|
+
2020/06/07 00:23:03 [error] 4174#0: *29 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
274
|
+
|
275
|
+
2020/06/07 00:23:03 [error] 4174#0: *31 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /TP/html/public/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
276
|
+
|
277
|
+
2020/06/07 00:23:04 [error] 4174#0: *33 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 217.76.68.173, server: ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com, request: "GET /elrekt.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/www.sock:", host: "54.250.209.6"
|
278
|
+
|
279
|
+
@@@
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
```
|
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -201,3 +201,55 @@
|
|
201
201
|
|
202
202
|
|
203
203
|
```
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
**追記**
|
208
|
+
|
209
|
+
/var/log/nginx/access.logは以下になります
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
```
|
214
|
+
|
215
|
+
128.14.209.154 - - [06/Jun/2020:08:29:53 +0000] "GET / HTTP/1.1" 200 3520 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "-"
|
216
|
+
|
217
|
+
88.135.87.177 - - [06/Jun/2020:08:52:51 +0000] "GET / HTTP/1.1" 200 3520 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" "-"
|
218
|
+
|
219
|
+
114.35.30.134 - - [06/Jun/2020:09:22:47 +0000] "GET / HTTP/1.1" 400 157 "-" "-" "-"
|
220
|
+
|
221
|
+
143.255.243.104 - - [06/Jun/2020:09:52:36 +0000] "GET / HTTP/1.1" 200 3520 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7" "-"
|
222
|
+
|
223
|
+
115.165.12.59 - - [06/Jun/2020:22:53:49 +0000] "GET /index.php HTTP/1.1" 200 65450 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36(KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
224
|
+
|
225
|
+
115.165.12.59 - - [06/Jun/2020:22:53:50 +0000] "GET /favicon.ico HTTP/1.1" 404 3665 "http://ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
226
|
+
|
227
|
+
115.165.12.59 - - [06/Jun/2020:23:05:09 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
228
|
+
|
229
|
+
115.165.12.59 - - [06/Jun/2020:23:05:10 +0000] "GET /nginx-logo.png HTTP/1.1" 200 368 "http://ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
230
|
+
|
231
|
+
115.165.12.59 - - [06/Jun/2020:23:05:10 +0000] "GET /poweredby.png HTTP/1.1" 200 368 "http://ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
232
|
+
|
233
|
+
115.165.12.59 - - [06/Jun/2020:23:08:06 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
234
|
+
|
235
|
+
115.165.12.59 - - [06/Jun/2020:23:14:54 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
236
|
+
|
237
|
+
115.165.12.59 - - [06/Jun/2020:23:14:55 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
238
|
+
|
239
|
+
115.165.12.59 - - [06/Jun/2020:23:14:56 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
240
|
+
|
241
|
+
86.175.251.41 - - [06/Jun/2020:23:16:07 +0000] "GET / HTTP/1.0" 500 3708 "-" "-" "-"
|
242
|
+
|
243
|
+
115.165.12.59 - - [06/Jun/2020:23:21:27 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
244
|
+
|
245
|
+
115.165.12.59 - - [06/Jun/2020:23:21:30 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
246
|
+
|
247
|
+
115.165.12.59 - - [06/Jun/2020:23:21:32 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
248
|
+
|
249
|
+
115.165.12.59 - - [06/Jun/2020:23:25:09 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
250
|
+
|
251
|
+
115.165.12.59 - - [06/Jun/2020:23:27:47 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
252
|
+
|
253
|
+
115.165.12.59 - - [06/Jun/2020:23:29:08 +0000] "GET / HTTP/1.1" 500 3708 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" "-"
|
254
|
+
|
255
|
+
```
|
3
nginx.confの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,3 +9,195 @@
|
|
9
9
|
[こちら](https://teratail.com/questions/40396)を参考に、「server_name」にドメインを追加しnginxを再起動、php-fpmを再起動し再度アクセスしてみましたが同様のエラーページが表示されてしまっている状況です。
|
10
10
|
|
11
11
|
修正が必要な部分など、ご助言頂けましたら幸いです。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
**追記**
|
16
|
+
|
17
|
+
nginx.confは以下になります。
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
# For more information on configuration, see:
|
22
|
+
|
23
|
+
# * Official English Documentation: http://nginx.org/en/docs/
|
24
|
+
|
25
|
+
# * Official Russian Documentation: http://nginx.org/ru/docs/
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
user nginx;
|
30
|
+
|
31
|
+
worker_processes auto;
|
32
|
+
|
33
|
+
error_log /var/log/nginx/error.log;
|
34
|
+
|
35
|
+
pid /run/nginx.pid;
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
|
40
|
+
|
41
|
+
include /usr/share/nginx/modules/*.conf;
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
events {
|
46
|
+
|
47
|
+
worker_connections 1024;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
http {
|
54
|
+
|
55
|
+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
56
|
+
|
57
|
+
'$status $body_bytes_sent "$http_referer" '
|
58
|
+
|
59
|
+
'"$http_user_agent" "$http_x_forwarded_for"';
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
access_log /var/log/nginx/access.log main;
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
sendfile on;
|
68
|
+
|
69
|
+
tcp_nopush on;
|
70
|
+
|
71
|
+
tcp_nodelay on;
|
72
|
+
|
73
|
+
keepalive_timeout 65;
|
74
|
+
|
75
|
+
types_hash_max_size 2048;
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
include /etc/nginx/mime.types;
|
80
|
+
|
81
|
+
default_type application/octet-stream;
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
# Load modular configuration files from the /etc/nginx/conf.d directory.
|
86
|
+
|
87
|
+
# See http://nginx.org/en/docs/ngx_core_module.html#include
|
88
|
+
|
89
|
+
# for more information.
|
90
|
+
|
91
|
+
include /etc/nginx/conf.d/*.conf;
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
server {
|
96
|
+
|
97
|
+
listen 80 default_server;
|
98
|
+
|
99
|
+
listen [::]:80 default_server;
|
100
|
+
|
101
|
+
server_name ec2-54-250-209-6.ap-northeast-1.compute.amazonaws.com;
|
102
|
+
|
103
|
+
root /usr/share/nginx/html;
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
# Load configuration files for the default server block.
|
108
|
+
|
109
|
+
include /etc/nginx/default.d/*.conf;
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
location / {
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
error_page 404 /404.html;
|
120
|
+
|
121
|
+
location = /40x.html {
|
122
|
+
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
error_page 500 502 503 504 /50x.html;
|
128
|
+
|
129
|
+
location = /50x.html {
|
130
|
+
|
131
|
+
}
|
132
|
+
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
# Settings for a TLS enabled server.
|
140
|
+
|
141
|
+
#
|
142
|
+
|
143
|
+
# server {
|
144
|
+
|
145
|
+
# listen 443 ssl http2 default_server;
|
146
|
+
|
147
|
+
# listen [::]:443 ssl http2 default_server;
|
148
|
+
|
149
|
+
# server_name _;
|
150
|
+
|
151
|
+
# root /usr/share/nginx/html;
|
152
|
+
|
153
|
+
#
|
154
|
+
|
155
|
+
# ssl_certificate "/etc/pki/nginx/server.crt";
|
156
|
+
|
157
|
+
# ssl_certificate_key "/etc/pki/nginx/private/server.key";
|
158
|
+
|
159
|
+
# ssl_session_cache shared:SSL:1m;
|
160
|
+
|
161
|
+
# ssl_session_timeout 10m;
|
162
|
+
|
163
|
+
# ssl_ciphers PROFILE=SYSTEM;
|
164
|
+
|
165
|
+
# ssl_prefer_server_ciphers on;
|
166
|
+
|
167
|
+
#
|
168
|
+
|
169
|
+
# # Load configuration files for the default server block.
|
170
|
+
|
171
|
+
# include /etc/nginx/default.d/*.conf;
|
172
|
+
|
173
|
+
#
|
174
|
+
|
175
|
+
# location / {
|
176
|
+
|
177
|
+
# }
|
178
|
+
|
179
|
+
#
|
180
|
+
|
181
|
+
# error_page 404 /404.html;
|
182
|
+
|
183
|
+
# location = /40x.html {
|
184
|
+
|
185
|
+
# }
|
186
|
+
|
187
|
+
#
|
188
|
+
|
189
|
+
# error_page 500 502 503 504 /50x.html;
|
190
|
+
|
191
|
+
# location = /50x.html {
|
192
|
+
|
193
|
+
# }
|
194
|
+
|
195
|
+
# }
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
```
|
2
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
[こちらの記事](https://note.com/hiroki_hachisuka/n/nc1d5342c3a9b)を参考に、wordpressの導入を進めていたのですが、ドメインを入力しwordpressの管理画面へアクセスする部分で、エラーページが表示されてしまいました。
|
2
|
+
|
3
|
+
表示されたエラーページは以下になります。
|
4
|
+
|
5
|
+
![イメージ説明](d7797d14736baafd8971fc3730b87fd4.png)
|
2
6
|
|
3
7
|
|
4
8
|
|
1
本文修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[こちら](https://note.com/hiroki_hachisuka/n/nc1d5342c3a9b)を参考に、wordpressの導入を進めていたのですが、ドメインを入力しwordpressの管理画面へアクセスする部分で、エラーページが表示されてしまいました。
|
1
|
+
[こちらの記事](https://note.com/hiroki_hachisuka/n/nc1d5342c3a9b)を参考に、wordpressの導入を進めていたのですが、ドメインを入力しwordpressの管理画面へアクセスする部分で、エラーページが表示されてしまいました。
|
2
2
|
|
3
3
|
|
4
4
|
|