Modify task#list return json with name and sid

- Also add configs for `cors` in `nginx`