feat!: web user interface

This commit is contained in:
Paul Armstrong
2021-01-09 09:26:46 -08:00
committed by Blake Blackshear
parent 5ad4017510
commit c618867941
29 changed files with 9112 additions and 123 deletions

View File

@@ -96,13 +96,19 @@ http {
root /media/frigate;
}
location / {
location /api/ {
add_header 'Access-Control-Allow-Origin' '*';
proxy_pass http://frigate_api/;
proxy_pass_request_headers on;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
root /opt/frigate/web;
try_files $uri $uri/ /index.html;
}
}
}
@@ -119,4 +125,4 @@ rtmp {
meta copy;
}
}
}
}