Fix database, ssl and proxy