From 4b625240cf6babebc9e299f1ad3ecbae102bfdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Mon, 28 Oct 2019 20:57:19 +0100 Subject: [PATCH] Update firststeps-rp.md --- docs/firststeps-rp.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/firststeps-rp.md b/docs/firststeps-rp.md index f56c329b2..6dc5771c2 100644 --- a/docs/firststeps-rp.md +++ b/docs/firststeps-rp.md @@ -90,7 +90,7 @@ Let's Encrypt will follow our rewrite, certificate requests will work fine. **Take care of highlighted lines.** -``` hl_lines="4 10 13 14 19 32" +``` hl_lines="4 10 13 14 19 33" server { listen 80 default_server; listen [::]:80 default_server; @@ -114,11 +114,12 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_connect_timeout 75; + proxy_send_timeout 3650; + proxy_read_timeout 3650; + proxy_buffers 64 256k; + client_body_buffer_size 512k; client_max_body_size 0; - proxy_connect_timeout 4000; - proxy_next_upstream timeout error; - proxy_send_timeout 4000; - proxy_read_timeout 4000; } location / {