File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,17 @@ upstream web {
9
9
}
10
10
11
11
server {
12
-
12
+ client_max_body_size 4G;
13
+ # server_name example.com;
13
14
error_log /log/nginx-error.log;
14
15
access_log /log/nginx-access.log timed_combined;
15
16
16
17
location / {
18
+ proxy_set_header Host $http_host;
19
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
20
+ proxy_set_header X-Forwarded-Proto $scheme;
21
+ proxy_redirect off;
22
+ proxy_buffering off;
17
23
proxy_pass http://web/;
18
24
}
19
25
}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ chardet==3.0.4
6
6
Click==7.0
7
7
Flask==1.1.1
8
8
Flask-Cors==3.0.8
9
+ gunicorn==20.0.4
9
10
idna==2.8
10
11
importlib-metadata==1.3.0
11
12
itsdangerous==1.1.0
@@ -19,6 +20,7 @@ PyMySQL==0.9.3
19
20
pytz==2019.3
20
21
redis==3.3.11
21
22
requests==2.22.0
23
+ six==1.15.0
22
24
SQLAlchemy==1.3.12
23
25
urllib3==1.25.7
24
26
vine==1.3.0
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ chardet==3.0.4
6
6
Click==7.0
7
7
Flask==1.1.1
8
8
Flask-Cors==3.0.8
9
+ gunicorn==20.0.4
9
10
idna==2.8
10
11
importlib-metadata==1.3.0
11
12
itsdangerous==1.1.0
@@ -19,6 +20,7 @@ PyMySQL==0.9.3
19
20
pytz==2019.3
20
21
redis==3.3.11
21
22
requests==2.22.0
23
+ six==1.15.0
22
24
SQLAlchemy==1.3.12
23
25
urllib3==1.25.7
24
26
vine==1.3.0
You can’t perform that action at this time.
0 commit comments