From the Algolia Portal, I have added a new API key with the right restrictions to limit referrers.
The key settings are (given for illustration):
Description: This is my new key for testing
Valid for: 0
Max API calls/IP/hour: 0
Max hits/query: 0
HTTP Referers: https://www.mydomain.com*
ACL: Selected all the checkboxes
In the testing app backend, when I acess the app from a url starting with: https://www.mydomain.com I get this error:
Uncaught AlgoliaSearch\AlgoliaException: Method not allowed with this referer …
“POST /index.php HTTP/1.1”, host: “mydomain.com”, referrer: “https://mydomain.com/index.php?content=algolia-sync”
Am I missing something?