JayKim Posted February 21, 2018 Share Posted February 21, 2018 Hello All, I am a newbie for Invision board. Mt site is running based on Nginx FPM, which causes rewrites problem. Does anyone who has been going through this problem? .htaccess is not working and I've tried with nginx configuration like the below: location /forum/api { try_files $uri $uri/ index.php?$args; fastcgi_pass_header Authorization; proxy_set_header HTTP_AUTHORIZATION $http_authorization; if (!-e $request_filename) { rewrite ^/forum/api/(.*)$ /forum/api/index.php; } } And I cannot proceed with enabling rest api and see the below error message: The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://wwwtest.eliterising.com/forum/api/index.php?/core/hello Thank you in advance. Link to comment Share on other sites More sharing options...
Steph40 Posted February 21, 2018 Share Posted February 21, 2018 @JayKimTry this: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.