質問編集履歴

2

typo

2018/02/25 02:55

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -64,7 +64,7 @@
64
64
 
65
65
 
66
66
 
67
- 追記です。`/etc/ngnix/nginx.confは以下のようになっています。`
67
+ 追記です。`/etc/ngnix/nginx.conf`は以下のようになっています。
68
68
 
69
69
 
70
70
 

1

追加説明

2018/02/25 02:55

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -61,3 +61,67 @@
61
61
 
62
62
 
63
63
  よろしくお願いたします。
64
+
65
+
66
+
67
+ 追記です。`/etc/ngnix/nginx.confは以下のようになっています。`
68
+
69
+
70
+
71
+ ```
72
+
73
+ user nginx;
74
+
75
+ worker_processes 1;
76
+
77
+
78
+
79
+ error_log /var/log/nginx/error.log warn;
80
+
81
+ pid /var/run/nginx.pid;
82
+
83
+
84
+
85
+
86
+
87
+ events {
88
+
89
+ worker_connections 1024;
90
+
91
+ }
92
+
93
+
94
+
95
+
96
+
97
+ http {
98
+
99
+ include /etc/nginx/mime.types;
100
+
101
+ default_type application/octet-stream;
102
+
103
+
104
+
105
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
106
+
107
+ '$status $body_bytes_sent "$http_referer" '
108
+
109
+ '"$http_user_agent" "$http_x_forwarded_for"';
110
+
111
+
112
+
113
+ access_log /var/log/nginx/access.log main;
114
+
115
+ sendfile on;
116
+
117
+ keepalive_timeout 65;
118
+
119
+
120
+
121
+ include /etc/nginx/conf.d/*.conf;
122
+
123
+ }
124
+
125
+
126
+
127
+ ```