{ "_comment01": "===================================================================================================================", "_comment02": "Because comments are not supported in JSON we use '_comment[nn]' keys in this file for comments. ", "_comment03": "Other keys prefixed with an underscore are commented out. Remove the underscore to uncomment the key and its value.", "_comment04": "When running in a Docker container the settings in this file can be overridden by environment variables. ", "_comment05": "===================================================================================================================", "_comment10": "Full path and filename to the certificate in .PFX format used for SSL (HTTPS).", "SslCertificatePath": "C:\\Cert\\cert.pfx", "_comment11": "Password for your certificate file, Base64 encoded with padding. For example, 'Password' becomes 'UGFzc3dvcmQ='", "SslCertificatePassword": "UGFzc3dvcmQ=", "_comment12": "The Kestrel section defines the HTTPS port number to listen on. Default value is 35063", "Kestrel": { "EndPoints": { "https": { "Url": "https://+:35063" } } }, "_comment20": "ReRoutes configures the gateway routing. Please refer to the Ocelot documentation at https://ocelot.readthedocs.io/en/latest/features/routing.html for more info.", "ReRoutes": [ { "_comment25": "Zylinc Client API version 1.0", "DownstreamPathTemplate": "/zylinc/api/{any}", "UpstreamPathTemplate": "/zylinc/api/{any}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "WinAppServer.zylinc.com", "Port": 35046 } ], "UpstreamHttpMethod": [] }, { "_comment30": "Zylinc Client API websocket endpoint", "DownstreamPathTemplate": "/socket", "UpstreamPathTemplate": "/socket", "DownstreamScheme": "ws", "DownstreamHostAndPorts": [ { "Host": "WinAppServer.zylinc.com", "Port": 35047 } ], "UpstreamHttpMethod": [] }, { "_comment35": "Authentication service (IdentityServer) base URL", "DownstreamPathTemplate": "/auth", "UpstreamPathTemplate": "/auth", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "WinAppServer.zylinc.com", "Port": 35062 } ], "UpstreamHttpMethod": [] }, { "_comment40": "Authentication service (IdentityServer) subpaths", "DownstreamPathTemplate": "/auth/{any}", "UpstreamPathTemplate": "/auth/{any}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "WinAppServer.zylinc.com", "Port": 35062 } ], "UpstreamHttpMethod": [] } ], "_comment45": "BaseUrl is the external URL that clients will see the gateway running on.", "GlobalConfiguration": { "BaseUrl": "https://InternetServer.domain.com:35063" }, "_comment50": "===================================================================================================================", "_comment51": " Settings below this line are advanced settings that should only be changed when requested by Zylinc support. ", "_comment52": "===================================================================================================================", "_comment53": "The Logging section in the following controls log levels for Microsoft .NET Framework code and IdentityServer4 code.", "_comment54": "To configure log levels for Zylinc code, you must use NLog.config which you can find in the installation folder.", "Logging": { "LogLevel": { "Default": "Warning", "System": "Warning", "Microsoft": "Warning", "Ocelot": "Warning" } }, "_comment60": "Host filtering. Default value is * which allows all hosts.", "_comment61": "To enable host filtering you specify a semicolon-delimited list of host names without port numbers. Example: 'example.com;localhost'", "AllowedHosts": "*" }