Jump to content

FernandoMTA

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by FernandoMTA

  1. On 1/20/2016 at 12:36 PM, emilhem said:

    You don't need the file when using NGINX.

    I'm experiencing the same problem when on my test install. On my production server it works as expected and I'm pretty much using the same config except that the test install uses a auth_basic on the whole site... (this could be the issue!)

    The following is the path that IPS is trying to access according to the NGINX logs. The post here says that it is invalid https://community.invisionpower.com/4guides/developing-plugins-and-applications/rest-api/sending-your-first-request-r167/

    /api/index.php?/core/hello

    The config I use is the one that @prupdated mentioned above, IE

    location /api/ {
      rewrite ^/api/(.*)$ /api/index.php;
    }

    For me I had to do:

    location ~/api/ {
      rewrite ^/api/(.*)$ /api/index.php;
    }

     

    Thank you for the solution !

×
×
  • Create New...