[Koha-bugs] [Bug 14747] RESTful API with reverse proxy configuration
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 19:10:06 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14747
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
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.
More information about the Koha-bugs
mailing list