質問編集履歴
1
補足を行った
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,53 @@
|
|
143
143
|
変わらず困っております。
|
144
144
|
|
145
145
|
原因が分かる方がいたらご教示お願いいたします。
|
146
|
+
|
147
|
+
下記にnginxのdefault.confを追記致しました。
|
148
|
+
|
149
|
+
```nginx
|
150
|
+
|
151
|
+
server {
|
152
|
+
|
153
|
+
listen 80;
|
154
|
+
|
155
|
+
index index.php index.html;
|
156
|
+
|
157
|
+
root /var/www/public;
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
location / {
|
162
|
+
|
163
|
+
root /var/www/public;
|
164
|
+
|
165
|
+
index index.html index.php;
|
166
|
+
|
167
|
+
try_files $uri $uri/ /index.php?$query_string;
|
168
|
+
|
169
|
+
}
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
location ~ .php$ {
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
try_files $uri =404;
|
178
|
+
|
179
|
+
fastcgi_split_path_info ^(.+.php)(/.+)$;
|
180
|
+
|
181
|
+
fastcgi_pass php:9000;
|
182
|
+
|
183
|
+
fastcgi_index index.php;
|
184
|
+
|
185
|
+
include fastcgi_params;
|
186
|
+
|
187
|
+
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
188
|
+
|
189
|
+
fastcgi_param PATH_INFO $fastcgi_path_info;
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
}
|
194
|
+
|
195
|
+
```
|