1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
| { "AllowedHosts": "*", "ConnectionStrings": { "Database": "Host=db:5432;Database=gzctf;Username=postgres;Password=<Database Password>" }, "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" }, "Loki": { "Enable": true, "EndpointUri": "http://loki:3100", "Labels": [ { "Key": "app", "Value": "gzctf" } ], "PropertiesAsLabels": ["app"], "Credentials": { "Login": "login", "Password": "password" }, "Tenant": "my-tenant", "MinimumLevel": "Trace" } }, "Telemetry": { "Prometheus": { "Enable": false, "Port": 3000, "TotalNameSuffixForCounters": false }, "OpenTelemetry": { "Enable": false, "Protocol": "Grpc", "EndpointUri": "http://jaeger-collector:4317" }, "AzureMonitor": { "Enable": false, "ConnectionString": "InstrumentationKey=12345678-abcd-abcd-abcd-12345678..." }, "Console": { "Enable": false } }, "EmailConfig": { "SenderAddress": "", "SenderName": "", "UserName": "", "Password": "", "Smtp": { "Host": "localhost", "Port": 587, "BypassCertVerify": false } }, "XorKey": "<Random Key Str>", "ContainerProvider": { "Type": "Docker", "PortMappingType": "Default", "EnableTrafficCapture": false, "PublicEntry": "ctf.example.com", "DockerConfig": { "SwarmMode": false, "ChallengeNetwork": "", "Uri": "unix:///var/run/docker.sock", "UserName": "", "Password": "" }, "KubernetesConfig": { "Namespace": "gzctf-challenges", "ConfigPath": "kube-config.yaml", "AllowCIDR": [ "10.0.0.0/8" ], "DNS": [ "8.8.8.8", "223.5.5.5" ] } }, "RequestLogging": false, "DisableRateLimit": false, "RegistryConfig": { "UserName": "", "Password": "", "ServerAddress": "" }, "CaptchaConfig": { "Provider": "None", "SiteKey": "...", "SecretKey": "...", "GoogleRecaptcha": { "VerifyAPIAddress": "https://www.recaptcha.net/recaptcha/api/siteverify", "RecaptchaThreshold": "0.5" }, "HashPow": { "Difficulty": 18 } }, "ForwardedOptions": { "ForwardedHeaders": 7, "ForwardLimit": 1, "ForwardedForHeaderName": "X-Forwarded-For", "TrustedNetworks": ["10.0.0.0/8"], "TrustedProxies": ["10.0.0.1"] }, "Kestrel": { "Endpoints": { "Web": { "Url": "http://*:8080" }, "Prometheus": { "Url": "http://*:3000" } }, "Limits": { "MaxResponseBufferSize": 2048, "MaxRequestBufferSize": 1048576, "MaxRequestLineSize": 8192, "MaxRequestHeadersTotalSize": 32768, "MaxRequestHeaderCount": 100, "MaxRequestBodySize": 27262946, "KeepAliveTimeout": "0.0:5:0", "RequestHeadersTimeout": "0.0:5:0", "MaxConcurrentConnections": null, "MaxConcurrentUpgradedConnections": null }, "AddServerHeader": true, "AllowResponseHeaderCompression": true, "AllowSynchronousIO": false, "AllowAlternateSchemes": false, "DisableStringReuse": false, "ConfigurationLoader": null } }
|