PrestaShop / prestashop-flashlight

A docker based testing utility for PrestaShop
MIT License
22 stars 8 forks source link

HTTP PUT/DELETE do not work on / #111

Closed jokesterfr closed 4 weeks ago

jokesterfr commented 1 month ago

As recently tested by colleagues maintaining the ps_accounts module, some verbs are not correctly handled by PrestaShop Flashlight.

It seems natively, Nginx consider "/" to be a static ressource, and therefore, do not handle HTTP verbs other than OPTION/HEAD/GET/POST.

Configuration must be adjusted to support "/" the same way "/index.php" is.

jokesterfr commented 1 month ago

See https://stackoverflow.com/a/48044910