Skip to content

Commit

Permalink
add proxy header for keep alive
Browse files Browse the repository at this point in the history
  • Loading branch information
celogeek committed Aug 7, 2019
1 parent d8cf041 commit c29df28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM nginx

RUN apt update && apt install -y certbot procps curl cron ca-cacert ca-certificates ssl-cert && apt clean
RUN apt update && apt install -y certbot procps curl cron ca-certificates ssl-cert && apt clean

RUN rm /etc/nginx/conf.d/default.conf

Expand Down
5 changes: 4 additions & 1 deletion files/etc/nginx/proxy_params
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ proxy_set_header X-Forwarded-Proto $real_scheme;
proxy_buffering off;
proxy_request_buffering off;
client_max_body_size 0;
proxy_read_timeout 36000s;
proxy_read_timeout 600s;
proxy_connect_timeout 600s;
proxy_http_version 1.1;
proxy_set_header Connection "";

0 comments on commit c29df28

Please sign in to comment.