Flip nginx env vars. Change param to accept no JSON content or non-hash JSON