31,003
edits
m (→Nginx setup) Tag: 2017 source edit |
m (→Nginx setup) Tag: 2017 source edit |
||
| Line 36: | Line 36: | ||
Like Apache, if your Dolibarr is working inside a NGinx virtual host, you should have nothing to do to have your API working. APIs will be served by the same virtual web server than your application. | Like Apache, if your Dolibarr is working inside a NGinx virtual host, you should have nothing to do to have your API working. APIs will be served by the same virtual web server than your application. | ||
However, NGinx default setup on a lot of distribution is often | However, NGinx default setup on a lot of distribution is often a gaz engine and you may experience troubles. If you experience suche troubles, you can try to edit your NGinx config file to match the following example. This is a simple localhost setup with a working REST API handling (tested with 9.0.1 on parabola gnu/linux). | ||
<source language="nginx"> | <source language="nginx"> | ||