Add error log for nginx proxy