http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14747

--- Comment #1 from Julian Maurice <[email protected]> ---
Created attachment 42040
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42040&action=edit
Bug 14747: RESTful API with reverse proxy configuration

OPTIONAL replacement to the
    Bug 13799: RESTful API with Mojolicious and Swagger2
httpd-configuration.

Instead of having to go to your dns-provider, you can run the api from
your current virtualhost.

Use these configurations to reverse proxy www.host.domain/v1/ to the
REST API.

---------------------------
:INSTALLATION INSTRUCTIONS:
---------------------------

You need
    Bug 14448: Adding the REST API as a Hypnotoad service, koha-api-daemon.
to deploy the backend Mojolicous application as a FastCGI-daemon.

Then add the modifications from etc/koha-httpd.conf
to your /etc/apache2/sites-enabled/koha.conf
and adjust paths to fit.

..$ a2enmod proxy
..$ a2enmod proxy_http
..$ service apache2 restart

Much recommended is
    Bug 14458: Add SwaggerUI documentation for RESTful API
to browse your API capabilities.

Then just go to
    /v1/doc
to see the API autodocumentation.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to