From 7210b1ddb9bd671c988b9eeaa07b5d0b991a88e9 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 24 Aug 2023 17:48:41 +0200 Subject: [PATCH] Remove useless resolver from nginx config in doc --- docs/ubuntu.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/ubuntu.md b/docs/ubuntu.md index 83baaa27..634f710d 100644 --- a/docs/ubuntu.md +++ b/docs/ubuntu.md @@ -361,7 +361,6 @@ In Nginx: set $target_url $1/$2; } add_header X-Proxy-Target $target_url; # For debugging - resolver 8.8.8.8; proxy_read_timeout 10s; proxy_connect_timeout 5s; proxy_pass $target_url; @@ -369,7 +368,6 @@ In Nginx: error_page 301 302 307 = @handle_proxy_redirect; } location @handle_proxy_redirect { - resolver 8.8.8.8; set $saved_redirect_location '$upstream_http_location'; proxy_pass $saved_redirect_location; }