Re-add support for go2rtc webrtc api (#8828)

This commit is contained in:
Nicolas Mowen 2023-12-01 06:47:09 -07:00 committed by GitHub
parent 89051c1b90
commit 595fa3d111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,6 +199,15 @@ http {
include proxy.conf;
}
# integration uses this to add webrtc candidate
location /api/go2rtc/webrtc {
limit_except POST {
deny all;
}
proxy_pass http://go2rtc/api/webrtc;
include proxy.conf;
}
location ~* /api/.*\.(jpg|jpeg|png)$ {
rewrite ^/api/(.*)$ $1 break;
proxy_pass http://frigate_api;