diff --git a/stub/nginx.conf b/stub/nginx.conf index 039ea2f0..9c913d5d 100644 --- a/stub/nginx.conf +++ b/stub/nginx.conf @@ -3,7 +3,12 @@ server { listen [::]:80; server_name localhost; - location / { + location /clip/v2/resource { + root /usr/share/nginx/html; + try_files $uri /clip/v2/resource/device.json =404; + } + + location /clip/v2/resource/ { root /usr/share/nginx/html; try_files $uri $uri/ $uri.json =404; }