I basically used the instructions from "here" . Before I reach the SSL section and let\'s encrypt I used the below for nginX config:
server { list