mirror of
1
Fork 0

[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
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ server {
listen [::]:80; listen [::]:80;
server_name example.org; server_name example.org;
location / { location / {
proxy_pass http://localhost:8080/; proxy_pass http://localhost:8080;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";