fix nginx on debian distributions