add ssl and some basic conf