Small refactor and SSL nginx configuration from F to A