log file limits & ssl support

- log file rotation added to limit disk space.
- ssl support in nginx configuration