add ssl config to nginx conf, fix formatting