@@ -19,50 +19,6 @@ addr = "0.0.0.0"
1919# # it would the port would be https.external_port(https.external_port should be defined), otherwise is false
2020# redirect_https = true
2121
22- # [https]
23- # port = 443 # https bind address
24- # addr = "0.0.0.0"
25- # # port when serving public network,default is https port. external_port should not be 0.
26- # external_port = 443
27-
28- # # if set true, http server(80) will send client
29- # # status code:301(Moved Permanently) to tell client redirect to https
30-
31- # # default value for https ssl
32- # [https.ssl]
33- # private = "private.key path" # private ssl key
34- # public = "public.cert path" # public ssl cert
35-
36- # # acme config, it doest not support run with https.ssl config.
37- # [https.acme]
38- # # emails to Let's Encrypt needs to interact.
39- # emails = ["mailto:[email protected] "]40-
41- # # directory to store account and certificate
42- # # optional, default is ${file_dir}/acme
43- # dir = "/data/acme"
44-
45- # # ci / stage / prod, default is prod, ci is just for CI test with Pebble, don't use it.
46- # type = prod
47-
48- # # default cache config
49- [cache ]
50- # # if file size > max_size, it will not be cached. default is (10MB).
51- # max_size = 10_000_000
52- # # gzip compression for js/json/icon/json, default is false,
53- # # only support gzip algo, and only compress cached files,
54- # # be careful to set it true
55- # compression = false
56-
57- # # http header Cache-Control config,
58- # # optional, if not set, won't sender this header to client
59- # [[cache.client_cache]]
60- # # 30day
61- # expire = '30d'
62- # extension_names = ['icon', 'gif', 'jpg', 'jpeg', 'png', 'js']
63- # [[cache.client_cache]]
64- # expire = '0'
65- # extension_names = ['html']
6622
6723# # admin server config
6824# # admin server don't support hot reload. the config should not change.
@@ -95,18 +51,3 @@ addr = "0.0.0.0"
9551# # optional, when https enabled, redirect_https default value true
9652# # it would the port would be https.external_port(https.external_port should be defined), otherwise is false
9753# redirect_https = 443
98-
99- # # this would be usefully when set https.acme
100- # disable_acme = false
101- # [domains.https.ssl]
102-
103- # [domains.cache]
104- # max_size = 10_000_000
105- # compression = false
106- # [[domains.cache.client_cache]]
107- # expire = '30d' # 30day
108- # extension_names = ['icon', 'gif', 'jpg', 'jpeg', 'png', 'js']
109-
110-
111- # [openTelemetry]
112- # endpoint = "http://localhost:4317"
0 commit comments