The "devserver" is just a wrapper around python -m SimpleHTTPServer
, which as the name suggests is a very simple web server that does not have all the rewriting features of Nginx. Potential solutions include:
Output all files via /output/products/index.html pattern and access locally at
http://localhost:8000/products/
(nothttp://localhost:8000/products
however)Install and configure nginx locally to match the server-side configuration