adds ssl option for nginx and rails apps