質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,3 +17,41 @@
|
|
17
17
|
|
18
18
|
|
19
19
|
必要なソースがありましたらご教授ください。
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
#追記
|
24
|
+
|
25
|
+
nginxの設定
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
server {
|
30
|
+
|
31
|
+
listen 80;
|
32
|
+
|
33
|
+
server_name IPアドレス;
|
34
|
+
|
35
|
+
client_max_body_size 100M;
|
36
|
+
|
37
|
+
location = /favicon.ico { access_log off; log_not_found off; }
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
location /static/ {
|
42
|
+
|
43
|
+
root /home/ubuntu/プロジェクトフォルダ名;
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
location / {
|
48
|
+
|
49
|
+
include proxy_params;
|
50
|
+
|
51
|
+
proxy_pass http://unix:/run/gunicorn.sock;
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
```
|