Fixed typo in https port reading

- typo in name of config property holding secure port
Fixed local-config path calculation

- fixed wrong path building
Http and https server creation managed by env property

- REGISTRIES_PRODUCTION now indicates if start http or https service