commit 2478d83c84f69b4aa429de2c1e85865c986851cb
parent 19dab83ee354da11a581b09121ab1320fc928e96
Author: Daenney <daenney@users.noreply.github.com>
Date: Mon, 15 May 2023 19:53:42 +0200
[bugfix] Fix proxy_pass in named location (#1794)
A proxy_pass in a named location, @name, should not include a trailing
slash.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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";