Skip to content

NVR with realtime local object detection for IP cameras

Nginx fix: make locales public (#17248)

Josh Hawkins7f966df5a450
diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf
index 137d0ec3dd..6c60019c7d 100644
--- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf
+++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf
@@ -300,6 +300,11 @@ http {
add_header Cache-Control "public";
}
+ location /locales/ {
+ access_log off;
+ add_header Cache-Control "public";
+ }
+
location ~ ^/.*-([A-Za-z0-9]+)\.webmanifest$ {
access_log off;
expires 1y;