From 2478d83c84f69b4aa429de2c1e85865c986851cb Mon Sep 17 00:00:00 2001 From: Daenney Date: Mon, 15 May 2023 19:53:42 +0200 Subject: [PATCH] [bugfix] Fix proxy_pass in named location (#1794) A proxy_pass in a named location, @name, should not include a trailing slash. --- docs/installation_guide/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation_guide/advanced.md b/docs/installation_guide/advanced.md index 060897804..677ea47bc 100644 --- a/docs/installation_guide/advanced.md +++ b/docs/installation_guide/advanced.md @@ -402,7 +402,7 @@ server { } location @fileserver { - proxy_pass http://localhost:8080/; + proxy_pass http://localhost:8080; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";