Remove trailing slash from proxy_pass (#269)
This breaks livestreams and isn't necessary, so remove it.
This commit is contained in:
parent
7f34b8c552
commit
08cd8d4d36
|
@ -18,7 +18,7 @@ server {
|
||||||
ssl_certificate_key /etc/letsencrypt/live/invidious.domain.tld/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/invidious.domain.tld/privkey.pem;
|
||||||
|
|
||||||
location / {
|
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 X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header Host $host; # so Invidious knows domain
|
proxy_set_header Host $host; # so Invidious knows domain
|
||||||
proxy_http_version 1.1; # to keep alive
|
proxy_http_version 1.1; # to keep alive
|
||||||
|
|
Loading…
Reference in New Issue