File tree 3 files changed +13
-10
lines changed
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
- # .............. minute (0 - 59)
2
- # . .............. hour (0 - 23)
3
- # . . .............. day of month (1 - 31)
4
- # . . . .............. month (1 - 12)
5
- # . . . . .............. day of week (0 - 6) (Sunday to Saturday; 7 is also Sunday on some systems)
6
- # . . . . .
1
+ # +------------- minute (0 - 59)
2
+ # ¦ +------------- hour (0 - 23)
3
+ # ¦ ¦ +------------- day of month (1 - 31)
4
+ # ¦ ¦ ¦ +------------- month (1 - 12)
5
+ # ¦ ¦ ¦ ¦ +------------- day of week (0 - 6) (Sunday to Saturday; 7 is also Sunday on some systems)
6
+ # ¦ ¦ ¦ ¦ ¦
7
7
8
8
0 0,12 * * * date && echo "daily " && /docker-entrypoint.sh
9
-
Original file line number Diff line number Diff line change 1
- FROM nginx:1.17.2 -alpine
1
+ FROM nginx:1.23.0 -alpine
2
2
3
3
RUN apk add --no-cache openssl inotify-tools
4
4
Original file line number Diff line number Diff line change @@ -141,11 +141,15 @@ location / {
141
141
proxy_set_header X-Forwarded-Proto $scheme;
142
142
proxy_hide_header X-Frame-Options;
143
143
144
- proxy_pass http://$upstream;
145
-
146
144
# uwsgi_params
147
145
include /etc/nginx/uwsgi_params;
148
146
147
+ # proxy_pass http://$upstream;
148
+ uwsgi_pass $upstream;
149
+
150
+ # when a client closes the connection then keep the channel to uwsgi open. Otherwise uwsgi throws an IOError
151
+ uwsgi_ignore_client_abort on;
152
+
149
153
location ~* \.(?:js|jpg|jpeg|gif|png|tgz|gz|rar|bz2|doc|pdf|ppt|tar|wav|bmp|ttf|rtf|swf|ico|flv|woff|woff2|svg|xml)$ {
150
154
gzip_static always;
151
155
expires 30d;
You can’t perform that action at this time.
0 commit comments