From 08cd8d4d36b2fb6ebf359a3d33c5e4d410625c86 Mon Sep 17 00:00:00 2001 From: Jonathon <559369+jonathonf@users.noreply.github.com> Date: Sat, 20 Aug 2022 20:13:14 +0100 Subject: [PATCH] Remove trailing slash from proxy_pass (#269) This breaks livestreams and isn't necessary, so remove it. --- docs/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nginx.md b/docs/nginx.md index 07c6c72..08ce8d3 100644 --- a/docs/nginx.md +++ b/docs/nginx.md @@ -18,7 +18,7 @@ server { ssl_certificate_key /etc/letsencrypt/live/invidious.domain.tld/privkey.pem; location / { - proxy_pass http://127.0.0.1:3000/; + proxy_pass http://127.0.0.1:3000; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host; # so Invidious knows domain proxy_http_version 1.1; # to keep alive