Properly configure nginx.