Fixes some issues with apt-get and nginx