From 4ea03db32e96cc7974b35f93e8f750ec4802708e Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 11 Jan 2023 06:02:46 +0100 Subject: [PATCH] Update reverse-proxy.md Co-authored-by: Simon L. Signed-off-by: Zoey --- reverse-proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index 6c26cea3..8e5e57bb 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -258,7 +258,7 @@ server { location / { resolver localhost; # Note: you need to set a valid dns resolver here or use 127.0.0.1 / [::1] instead of localhost in the line below. See https://stackoverflow.com/a/49642310 for a better explanation - proxy_pass http://localhost:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 / [::1], if you don't use a valid dns resolver in the line above + proxy_pass http://localhost:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 or [::1], if you don't use a valid dns resolver in the line above proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;