[bugfix] Fix proxy_pass in named location (#1794)

A proxy_pass in a named location, @name, should not include a trailing
slash.
This commit is contained in:
Daenney 2023-05-15 19:53:42 +02:00 committed by GitHub
parent 19dab83ee3
commit 2478d83c84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";