Trying to fix nginx 500, pt. 1