@alexia@shrimp.starlightnet.work
Post #2492674
2026-05-13 20:34 UTC
okay chat I have the following nginx config and I want to know why path /sfu/get isn't being proxied through despite the very obvious proxy_pass
server {
listen 0.0.0.0:443 ssl ;
listen [::0]:443 ssl ;
server_name livekit.matrix.cyrneko.eu ;
http2 on;
ssl_certificate /var/lib/acme/livekit.matrix.cyrneko.eu/fullchain.pem;
ssl_certificate_key /var/lib/acme/livekit.matrix.cyrneko.eu/key.pem;
ssl_trusted_certificate /var/lib/acme/livekit.matrix.cyrneko.eu/chain.pem;
location ^~ /.well-known/acme-challenge/ {
root /var/lib/acme/acme-challenge;
auth_basic off;
auth_request off;
}
location / {
proxy_pass http://[::1]:7880/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_send_timeout 120;
proxy_read_timeout 120;
proxy_buffering off;
proxy_set_header Accept-Encoding gzip;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /nix/store/1qivva8v2h0k4day3rw9gp1pi3lqvxqm-nginx-recommended-proxy_set_header-headers.conf;
}
location /sfu/get {
proxy_pass http://[::1]:8082/;
include /nix/store/1qivva8v2h0k4day3rw9gp1pi3lqvxqm-nginx-recommended-proxy_set_header-headers.conf;
}
}
Replies (1)
-
@billy@billys.mom 2026-05-13 20:44
@alexia@shrimp.starlightnet.work try place the /sfu/get block above the / block? my guess is that it's matching / before /sfu/get i think you can add ^~ before the /sfu/get block as well and that should do the trick, had the same issues other day on npm so this is very fresh in my mind lol