@@ -50,70 +50,14 @@ gzctf:
5050 //"RedisCache": "gzctf-garnet:6379,password=gzctf",
5151 //"Storage": "minio.s3://serviceUrl=gzctf-minio;keyId=gzctf;key=gzctf;bucket=gzctf-bucket"
5252 },
53- "Logging": {
54- "LogLevel": {
55- "Default": "Information",
56- "Microsoft": "Warning",
57- "Microsoft.Hosting.Lifetime": "Information"
58- },
59- "Loki": {
60- "Enable": false,
61- "EndpointUri": "http://loki:3100",
62- "Labels": [
63- {
64- "Key": "app",
65- "Value": "gzctf"
66- }
67- ],
68- "PropertiesAsLabels": ["app"],
69- "Credentials": {
70- "Login": "login",
71- "Password": "password"
72- },
73- "Tenant": "my-tenant",
74- "MinimumLevel": "Trace"
75- }
76- },
77- "Telemetry": {
78- "Prometheus": {
79- "Enable": false,
80- "Port": 3000,
81- "TotalNameSuffixForCounters": false
82- },
83- "OpenTelemetry": {
84- "Enable": false,
85- "Protocol": "Grpc",
86- "EndpointUri": "http://jaeger-collector:4317"
87- },
88- "AzureMonitor": {
89- "Enable": false,
90- "ConnectionString": "InstrumentationKey=12345678-abcd-abcd-abcd-12345678..."
91- },
92- "Console": {
93- "Enable": true
94- }
95- },
96- "EmailConfig": {
97- "SenderAddress": "",
98- "SenderName": "",
99- "UserName": "",
100- "Password": "",
101- "Smtp": {
102- "Host": "localhost",
103- "Port": 587,
104- "BypassCertVerify": false
105- }
106- },
10753 "XorKey": "gzctf",
10854 "ContainerProvider": {
10955 "Type": "Kubernetes",
11056 "PortMappingType": "Default",
11157 "EnableTrafficCapture": false,
11258 "PublicEntry": "ctf.example.com",
11359 "KubernetesConfig": {
114- // optional
11560 "Namespace": "gzctf-challenges",
116- "ConfigPath": "kube-config.yaml",
11761 "AllowCIDR": [
11862 "10.0.0.0/8"
11963 ],
@@ -122,55 +66,6 @@ gzctf:
12266 "223.5.5.5"
12367 ]
12468 }
125- },
126- "RequestLogging": false,
127- "DisableRateLimit": false,
128- "Registries": {
129- "ghcr.io": {
130- "UserName": "...",
131- "Password": "ghp_..."
132- },
133- "docker.io": {
134- "UserName": "...",
135- "Password": "..."
136- },
137- "your.custom.registry": {
138- "UserName": "...",
139- "Password": "..."
140- }
141- },
142- "CaptchaConfig": {
143- "Provider": "None", // or "CloudflareTurnstile" or "HashPow"
144- "SiteKey": "<Your SITE_KEY>",
145- "SecretKey": "<Your SECRET_KEY>"
146- },
147- "ForwardedOptions": {
148- "ForwardedHeaders": 5, // a flag enum, see following link
149- "ForwardLimit": 1,
150- "ForwardedForHeaderName": "X-Forwarded-For",
151- // use the following options to allow proxy
152- "TrustedNetworks": ["10.0.0.0/8"],
153- "TrustedProxies": ["10.0.0.1"]
154- },
155- "Kestrel": {
156- "Limits": {
157- "MaxResponseBufferSize": 2048,
158- "MaxRequestBufferSize": 1048576,
159- "MaxRequestLineSize": 8192,
160- "MaxRequestHeadersTotalSize": 32768,
161- "MaxRequestHeaderCount": 100,
162- "MaxRequestBodySize": 27262946,
163- "KeepAliveTimeout": "0.0:5:0",
164- "RequestHeadersTimeout": "0.0:5:0",
165- "MaxConcurrentConnections": null,
166- "MaxConcurrentUpgradedConnections": null
167- },
168- "AddServerHeader": true,
169- "AllowResponseHeaderCompression": true,
170- "AllowSynchronousIO": false,
171- "AllowAlternateSchemes": false,
172- "DisableStringReuse": false,
173- "ConfigurationLoader": null
17469 }
17570 }
17671
0 commit comments