# spaceapi nginx config snippet location = /statejson { proxy_pass http://localhost:8888; include proxy_params; add_header 'Access-Control-Allow-Origin' '*'; }