fusio: Unable to get to /developer/documentation/api using nginx

screen shot 2018-01-18 at 09 39 21

So I’m at the bottom of this list but when I go to http://mylocalhost/fusio I get:

{
    "success": false,
    "title": "PSX\\Framework\\Loader\\InvalidPathException",
    "message": "Unknown location in \/private\/var\/www\/fusio\/vendor\/psx\/framework\/src\/Loader\/Loader.php on line 121",
    "trace": "#0 \/private\/var\/www\/fusio\/vendor\/psx\/framework\/src\/Dispatch\/Dispatch.php(121): PSX\\Framework\\Loader\\Loader->load(Object(PSX\\Http\\Request), Object(PSX\\Http\\Response), Object(PSX\\Framework\\Loader\\Context))\n#1 \/private\/var\/www\/fusio\/vendor\/psx\/framework\/src\/Environment\/WebServer\/Engine.php(47): PSX\\Framework\\Dispatch\\Dispatch->route(Object(PSX\\Http\\Request), Object(PSX\\Http\\Response))\n#2 \/private\/var\/www\/fusio\/vendor\/psx\/framework\/src\/Environment\/Environment.php(67): PSX\\Framework\\Environment\\WebServer\\Engine->serve(Object(PSX\\Framework\\Dispatch\\Dispatch), Object(PSX\\Framework\\Config\\Config))\n#3 \/private\/var\/www\/fusio\/public\/index.php(29): PSX\\Framework\\Environment\\Environment->serve()\n#4 {main}",
    "context": "117             $this-&gt;executeController($controller, $result, $response);\n118 \n119             return $controller;\n120         } else {\n<b>121             throw new InvalidPathException('Unknown location', $request);\n<\/b>122         }\n123     }\n124 \n125     \/**\n"
}

I’ve checked fusio_routes and there is no route for /fusio:

screen shot 2018-01-18 at 09 40 49

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 20 (3 by maintainers)

Most upvoted comments

@theraw @slifin so /backend is no route which is available at Fusio. If you want to visit the backend app you should visit the /fusio endpoint. You can see all available backend endpoints at http://demo.fusio-project.org/internal/#!/page/about but you need to set an an Authorization header in order to make a request.

The nginx config looks good but I will also test a config so that I can finally add an nginx chapter to the documentation: http://fusio.readthedocs.io/en/latest/installation.html#web-server