質問編集履歴
1
\.
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,21 +4,13 @@
|
|
4
4
|
listen 80;
|
5
5
|
server_name domain.jp;
|
6
6
|
|
7
|
-
#charset koi8-r;
|
8
|
-
#access_log /var/log/nginx/log/host.access.log main;
|
9
|
-
|
10
7
|
location / {
|
11
|
-
# root /usr/share/nginx/html;
|
12
8
|
index index.html index.htm index.php;
|
13
9
|
try_files $uri $uri/ /index.php?$args;
|
14
10
|
root /var/www/html/domain;
|
15
11
|
|
16
12
|
}
|
17
13
|
|
18
|
-
#error_page 404 /404.html;
|
19
|
-
|
20
|
-
# redirect server error pages to the static page /50x.html
|
21
|
-
#
|
22
14
|
error_page 500 502 503 504 /50x.html;
|
23
15
|
location = /50x.html {
|
24
16
|
root /usr/share/nginx/html;
|