Fix issue with no-SSL server configuration. Update templates