diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index f3373af..224cbd5 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -33,7 +33,9 @@ http { location / { index index.php; } - + location ^~ /zm { + rewrite ^/zm(.*)$ $1 last; + } location /cache { alias /zoneminder/cache; } @@ -64,4 +66,4 @@ http { expires 33d; } } -} \ No newline at end of file +}