[docs] Remove trailing / from proxy_pass for nginx (#1077)

The trailing / can break relative URLs.
This commit is contained in:
Leonora Tindall 2022-11-19 03:05:31 -06:00 committed by GitHub
parent 45ae719bd9
commit c964856927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ server {
listen [::]:80;
server_name example.org;
location / {
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";