API V2 Webserver Changes Needed

For the past couple of days I've been currently rewriting the API portion of Organizr...  For this API to work we need to add a new location block to your webserver.

While I was writing the API again, I kinda decided to rewrite the core portion of Organizr as well.  Hopefully it will speed up Organizr a little bit.  

Please add a new location block to your webserver configuration.

Docker

If you haven't switched over to the new Official Docker, do that now:

https://github.com/Organizr/docker-organizr#migration

If you modified the default Nginx file, and the startup script didn't manage to add the /api/v2 location, add the configuration as described below, or recreate the default by deleting it. 

 

Nginx

location /api/v2 {
	try_files $uri /api/v2/index.php$is_args$args;
}

 

Apache

Coming soon?


Revision #6
Created Thu, Jul 23, 2020 7:18 PM by CauseFX
Updated Thu, Jul 30, 2020 5:17 PM by CauseFX