File Configuration Reference

Dynamic configuration with files

TOML

  1. [http]
  2. [http.routers]
  3. [http.routers.Router0]
  4. entryPoints = ["foobar", "foobar"]
  5. middlewares = ["foobar", "foobar"]
  6. service = "foobar"
  7. rule = "foobar"
  8. priority = 42
  9. [http.routers.Router0.tls]
  10. options = "foobar"
  11. certResolver = "foobar"
  12. [[http.routers.Router0.tls.domains]]
  13. main = "foobar"
  14. sans = ["foobar", "foobar"]
  15. [[http.routers.Router0.tls.domains]]
  16. main = "foobar"
  17. sans = ["foobar", "foobar"]
  18. [http.routers.Router1]
  19. entryPoints = ["foobar", "foobar"]
  20. middlewares = ["foobar", "foobar"]
  21. service = "foobar"
  22. rule = "foobar"
  23. priority = 42
  24. [http.routers.Router1.tls]
  25. options = "foobar"
  26. certResolver = "foobar"
  27. [[http.routers.Router1.tls.domains]]
  28. main = "foobar"
  29. sans = ["foobar", "foobar"]
  30. [[http.routers.Router1.tls.domains]]
  31. main = "foobar"
  32. sans = ["foobar", "foobar"]
  33. [http.services]
  34. [http.services.Service01]
  35. [http.services.Service01.loadBalancer]
  36. passHostHeader = true
  37. serversTransport = "foobar"
  38. [http.services.Service01.loadBalancer.sticky]
  39. [http.services.Service01.loadBalancer.sticky.cookie]
  40. name = "foobar"
  41. secure = true
  42. httpOnly = true
  43. sameSite = "foobar"
  44. [[http.services.Service01.loadBalancer.servers]]
  45. url = "foobar"
  46. [[http.services.Service01.loadBalancer.servers]]
  47. url = "foobar"
  48. [http.services.Service01.loadBalancer.healthCheck]
  49. scheme = "foobar"
  50. path = "foobar"
  51. port = 42
  52. interval = "foobar"
  53. timeout = "foobar"
  54. hostname = "foobar"
  55. followRedirects = true
  56. [http.services.Service01.loadBalancer.healthCheck.headers]
  57. name0 = "foobar"
  58. name1 = "foobar"
  59. [http.services.Service01.loadBalancer.responseForwarding]
  60. flushInterval = "foobar"
  61. [http.services.Service02]
  62. [http.services.Service02.mirroring]
  63. service = "foobar"
  64. maxBodySize = 42
  65. [[http.services.Service02.mirroring.mirrors]]
  66. name = "foobar"
  67. percent = 42
  68. [[http.services.Service02.mirroring.mirrors]]
  69. name = "foobar"
  70. percent = 42
  71. [http.services.Service03]
  72. [http.services.Service03.weighted]
  73. [[http.services.Service03.weighted.services]]
  74. name = "foobar"
  75. weight = 42
  76. [[http.services.Service03.weighted.services]]
  77. name = "foobar"
  78. weight = 42
  79. [http.services.Service03.weighted.sticky]
  80. [http.services.Service03.weighted.sticky.cookie]
  81. name = "foobar"
  82. secure = true
  83. httpOnly = true
  84. sameSite = "foobar"
  85. [http.middlewares]
  86. [http.middlewares.Middleware00]
  87. [http.middlewares.Middleware00.addPrefix]
  88. prefix = "foobar"
  89. [http.middlewares.Middleware01]
  90. [http.middlewares.Middleware01.basicAuth]
  91. users = ["foobar", "foobar"]
  92. usersFile = "foobar"
  93. realm = "foobar"
  94. removeHeader = true
  95. headerField = "foobar"
  96. [http.middlewares.Middleware02]
  97. [http.middlewares.Middleware02.buffering]
  98. maxRequestBodyBytes = 42
  99. memRequestBodyBytes = 42
  100. maxResponseBodyBytes = 42
  101. memResponseBodyBytes = 42
  102. retryExpression = "foobar"
  103. [http.middlewares.Middleware03]
  104. [http.middlewares.Middleware03.chain]
  105. middlewares = ["foobar", "foobar"]
  106. [http.middlewares.Middleware04]
  107. [http.middlewares.Middleware04.circuitBreaker]
  108. expression = "foobar"
  109. [http.middlewares.Middleware05]
  110. [http.middlewares.Middleware05.compress]
  111. excludedContentTypes = ["foobar", "foobar"]
  112. [http.middlewares.Middleware06]
  113. [http.middlewares.Middleware06.contentType]
  114. autoDetect = true
  115. [http.middlewares.Middleware07]
  116. [http.middlewares.Middleware07.digestAuth]
  117. users = ["foobar", "foobar"]
  118. usersFile = "foobar"
  119. removeHeader = true
  120. realm = "foobar"
  121. headerField = "foobar"
  122. [http.middlewares.Middleware08]
  123. [http.middlewares.Middleware08.errors]
  124. status = ["foobar", "foobar"]
  125. service = "foobar"
  126. query = "foobar"
  127. [http.middlewares.Middleware09]
  128. [http.middlewares.Middleware09.forwardAuth]
  129. address = "foobar"
  130. trustForwardHeader = true
  131. authResponseHeaders = ["foobar", "foobar"]
  132. authResponseHeadersRegex = "foobar"
  133. authRequestHeaders = ["foobar", "foobar"]
  134. [http.middlewares.Middleware09.forwardAuth.tls]
  135. ca = "foobar"
  136. caOptional = true
  137. cert = "foobar"
  138. key = "foobar"
  139. insecureSkipVerify = true
  140. [http.middlewares.Middleware10]
  141. [http.middlewares.Middleware10.headers]
  142. accessControlAllowCredentials = true
  143. accessControlAllowHeaders = ["foobar", "foobar"]
  144. accessControlAllowMethods = ["foobar", "foobar"]
  145. accessControlAllowOrigin = "foobar"
  146. accessControlAllowOriginList = ["foobar", "foobar"]
  147. accessControlAllowOriginListRegex = ["foobar", "foobar"]
  148. accessControlExposeHeaders = ["foobar", "foobar"]
  149. accessControlMaxAge = 42
  150. addVaryHeader = true
  151. allowedHosts = ["foobar", "foobar"]
  152. hostsProxyHeaders = ["foobar", "foobar"]
  153. sslRedirect = true
  154. sslTemporaryRedirect = true
  155. sslHost = "foobar"
  156. sslForceHost = true
  157. stsSeconds = 42
  158. stsIncludeSubdomains = true
  159. stsPreload = true
  160. forceSTSHeader = true
  161. frameDeny = true
  162. customFrameOptionsValue = "foobar"
  163. contentTypeNosniff = true
  164. browserXssFilter = true
  165. customBrowserXSSValue = "foobar"
  166. contentSecurityPolicy = "foobar"
  167. publicKey = "foobar"
  168. referrerPolicy = "foobar"
  169. featurePolicy = "foobar"
  170. isDevelopment = true
  171. [http.middlewares.Middleware10.headers.customRequestHeaders]
  172. name0 = "foobar"
  173. name1 = "foobar"
  174. [http.middlewares.Middleware10.headers.customResponseHeaders]
  175. name0 = "foobar"
  176. name1 = "foobar"
  177. [http.middlewares.Middleware10.headers.sslProxyHeaders]
  178. name0 = "foobar"
  179. name1 = "foobar"
  180. [http.middlewares.Middleware11]
  181. [http.middlewares.Middleware11.ipWhiteList]
  182. sourceRange = ["foobar", "foobar"]
  183. [http.middlewares.Middleware11.ipWhiteList.ipStrategy]
  184. depth = 42
  185. excludedIPs = ["foobar", "foobar"]
  186. [http.middlewares.Middleware12]
  187. [http.middlewares.Middleware12.inFlightReq]
  188. amount = 42
  189. [http.middlewares.Middleware12.inFlightReq.sourceCriterion]
  190. requestHeaderName = "foobar"
  191. requestHost = true
  192. [http.middlewares.Middleware12.inFlightReq.sourceCriterion.ipStrategy]
  193. depth = 42
  194. excludedIPs = ["foobar", "foobar"]
  195. [http.middlewares.Middleware13]
  196. [http.middlewares.Middleware13.passTLSClientCert]
  197. pem = true
  198. [http.middlewares.Middleware13.passTLSClientCert.info]
  199. notAfter = true
  200. notBefore = true
  201. sans = true
  202. serialNumber = true
  203. [http.middlewares.Middleware13.passTLSClientCert.info.subject]
  204. country = true
  205. province = true
  206. locality = true
  207. organization = true
  208. commonName = true
  209. serialNumber = true
  210. domainComponent = true
  211. [http.middlewares.Middleware13.passTLSClientCert.info.issuer]
  212. country = true
  213. province = true
  214. locality = true
  215. organization = true
  216. commonName = true
  217. serialNumber = true
  218. domainComponent = true
  219. [http.middlewares.Middleware14]
  220. [http.middlewares.Middleware14.plugin]
  221. [http.middlewares.Middleware14.plugin.PluginConf]
  222. foo = "bar"
  223. [http.middlewares.Middleware15]
  224. [http.middlewares.Middleware15.rateLimit]
  225. average = 42
  226. period = 42
  227. burst = 42
  228. [http.middlewares.Middleware15.rateLimit.sourceCriterion]
  229. requestHeaderName = "foobar"
  230. requestHost = true
  231. [http.middlewares.Middleware15.rateLimit.sourceCriterion.ipStrategy]
  232. depth = 42
  233. excludedIPs = ["foobar", "foobar"]
  234. [http.middlewares.Middleware16]
  235. [http.middlewares.Middleware16.redirectRegex]
  236. regex = "foobar"
  237. replacement = "foobar"
  238. permanent = true
  239. [http.middlewares.Middleware17]
  240. [http.middlewares.Middleware17.redirectScheme]
  241. scheme = "foobar"
  242. port = "foobar"
  243. permanent = true
  244. [http.middlewares.Middleware18]
  245. [http.middlewares.Middleware18.replacePath]
  246. path = "foobar"
  247. [http.middlewares.Middleware19]
  248. [http.middlewares.Middleware19.replacePathRegex]
  249. regex = "foobar"
  250. replacement = "foobar"
  251. [http.middlewares.Middleware20]
  252. [http.middlewares.Middleware20.retry]
  253. attempts = 42
  254. initialInterval = 42
  255. [http.middlewares.Middleware21]
  256. [http.middlewares.Middleware21.stripPrefix]
  257. prefixes = ["foobar", "foobar"]
  258. forceSlash = true
  259. [http.middlewares.Middleware22]
  260. [http.middlewares.Middleware22.stripPrefixRegex]
  261. regex = ["foobar", "foobar"]
  262. [http.serversTransports]
  263. [http.serversTransports.ServersTransport0]
  264. serverName = "foobar"
  265. insecureSkipVerify = true
  266. rootCAs = ["foobar", "foobar"]
  267. maxIdleConnsPerHost = 42
  268. [[http.serversTransports.ServersTransport0.certificates]]
  269. certFile = "foobar"
  270. keyFile = "foobar"
  271. [[http.serversTransports.ServersTransport0.certificates]]
  272. certFile = "foobar"
  273. keyFile = "foobar"
  274. [http.serversTransports.ServersTransport0.forwardingTimeouts]
  275. dialTimeout = "42s"
  276. responseHeaderTimeout = "42s"
  277. idleConnTimeout = "42s"
  278. [http.serversTransports.ServersTransport1]
  279. serverName = "foobar"
  280. insecureSkipVerify = true
  281. rootCAs = ["foobar", "foobar"]
  282. maxIdleConnsPerHost = 42
  283. [[http.serversTransports.ServersTransport1.certificates]]
  284. certFile = "foobar"
  285. keyFile = "foobar"
  286. [[http.serversTransports.ServersTransport1.certificates]]
  287. certFile = "foobar"
  288. keyFile = "foobar"
  289. [http.serversTransports.ServersTransport1.forwardingTimeouts]
  290. dialTimeout = "42s"
  291. responseHeaderTimeout = "42s"
  292. idleConnTimeout = "42s"
  293. [tcp]
  294. [tcp.routers]
  295. [tcp.routers.TCPRouter0]
  296. entryPoints = ["foobar", "foobar"]
  297. service = "foobar"
  298. rule = "foobar"
  299. [tcp.routers.TCPRouter0.tls]
  300. passthrough = true
  301. options = "foobar"
  302. certResolver = "foobar"
  303. [[tcp.routers.TCPRouter0.tls.domains]]
  304. main = "foobar"
  305. sans = ["foobar", "foobar"]
  306. [[tcp.routers.TCPRouter0.tls.domains]]
  307. main = "foobar"
  308. sans = ["foobar", "foobar"]
  309. [tcp.routers.TCPRouter1]
  310. entryPoints = ["foobar", "foobar"]
  311. service = "foobar"
  312. rule = "foobar"
  313. [tcp.routers.TCPRouter1.tls]
  314. passthrough = true
  315. options = "foobar"
  316. certResolver = "foobar"
  317. [[tcp.routers.TCPRouter1.tls.domains]]
  318. main = "foobar"
  319. sans = ["foobar", "foobar"]
  320. [[tcp.routers.TCPRouter1.tls.domains]]
  321. main = "foobar"
  322. sans = ["foobar", "foobar"]
  323. [tcp.services]
  324. [tcp.services.TCPService01]
  325. [tcp.services.TCPService01.loadBalancer]
  326. terminationDelay = 42
  327. [tcp.services.TCPService01.loadBalancer.proxyProtocol]
  328. version = 42
  329. [[tcp.services.TCPService01.loadBalancer.servers]]
  330. address = "foobar"
  331. [[tcp.services.TCPService01.loadBalancer.servers]]
  332. address = "foobar"
  333. [tcp.services.TCPService02]
  334. [tcp.services.TCPService02.weighted]
  335. [[tcp.services.TCPService02.weighted.services]]
  336. name = "foobar"
  337. weight = 42
  338. [[tcp.services.TCPService02.weighted.services]]
  339. name = "foobar"
  340. weight = 42
  341. [udp]
  342. [udp.routers]
  343. [udp.routers.UDPRouter0]
  344. entryPoints = ["foobar", "foobar"]
  345. service = "foobar"
  346. [udp.routers.UDPRouter1]
  347. entryPoints = ["foobar", "foobar"]
  348. service = "foobar"
  349. [udp.services]
  350. [udp.services.UDPService01]
  351. [udp.services.UDPService01.loadBalancer]
  352. [[udp.services.UDPService01.loadBalancer.servers]]
  353. address = "foobar"
  354. [[udp.services.UDPService01.loadBalancer.servers]]
  355. address = "foobar"
  356. [udp.services.UDPService02]
  357. [udp.services.UDPService02.weighted]
  358. [[udp.services.UDPService02.weighted.services]]
  359. name = "foobar"
  360. weight = 42
  361. [[udp.services.UDPService02.weighted.services]]
  362. name = "foobar"
  363. weight = 42
  364. [tls]
  365. [[tls.certificates]]
  366. certFile = "foobar"
  367. keyFile = "foobar"
  368. stores = ["foobar", "foobar"]
  369. [[tls.certificates]]
  370. certFile = "foobar"
  371. keyFile = "foobar"
  372. stores = ["foobar", "foobar"]
  373. [tls.options]
  374. [tls.options.Options0]
  375. minVersion = "foobar"
  376. maxVersion = "foobar"
  377. cipherSuites = ["foobar", "foobar"]
  378. curvePreferences = ["foobar", "foobar"]
  379. sniStrict = true
  380. preferServerCipherSuites = true
  381. [tls.options.Options0.clientAuth]
  382. caFiles = ["foobar", "foobar"]
  383. clientAuthType = "foobar"
  384. [tls.options.Options1]
  385. minVersion = "foobar"
  386. maxVersion = "foobar"
  387. cipherSuites = ["foobar", "foobar"]
  388. curvePreferences = ["foobar", "foobar"]
  389. sniStrict = true
  390. preferServerCipherSuites = true
  391. [tls.options.Options1.clientAuth]
  392. caFiles = ["foobar", "foobar"]
  393. clientAuthType = "foobar"
  394. [tls.stores]
  395. [tls.stores.Store0]
  396. [tls.stores.Store0.defaultCertificate]
  397. certFile = "foobar"
  398. keyFile = "foobar"
  399. [tls.stores.Store1]
  400. [tls.stores.Store1.defaultCertificate]
  401. certFile = "foobar"
  402. keyFile = "foobar"

YAML

  1. http:
  2. routers:
  3. Router0:
  4. entryPoints:
  5. - foobar
  6. - foobar
  7. middlewares:
  8. - foobar
  9. - foobar
  10. service: foobar
  11. rule: foobar
  12. priority: 42
  13. tls:
  14. options: foobar
  15. certResolver: foobar
  16. domains:
  17. - main: foobar
  18. sans:
  19. - foobar
  20. - foobar
  21. - main: foobar
  22. sans:
  23. - foobar
  24. - foobar
  25. Router1:
  26. entryPoints:
  27. - foobar
  28. - foobar
  29. middlewares:
  30. - foobar
  31. - foobar
  32. service: foobar
  33. rule: foobar
  34. priority: 42
  35. tls:
  36. options: foobar
  37. certResolver: foobar
  38. domains:
  39. - main: foobar
  40. sans:
  41. - foobar
  42. - foobar
  43. - main: foobar
  44. sans:
  45. - foobar
  46. - foobar
  47. services:
  48. Service01:
  49. loadBalancer:
  50. sticky:
  51. cookie:
  52. name: foobar
  53. secure: true
  54. httpOnly: true
  55. sameSite: foobar
  56. servers:
  57. - url: foobar
  58. - url: foobar
  59. healthCheck:
  60. scheme: foobar
  61. path: foobar
  62. port: 42
  63. interval: foobar
  64. timeout: foobar
  65. hostname: foobar
  66. followRedirects: true
  67. headers:
  68. name0: foobar
  69. name1: foobar
  70. passHostHeader: true
  71. responseForwarding:
  72. flushInterval: foobar
  73. serversTransport: foobar
  74. Service02:
  75. mirroring:
  76. service: foobar
  77. maxBodySize: 42
  78. mirrors:
  79. - name: foobar
  80. percent: 42
  81. - name: foobar
  82. percent: 42
  83. Service03:
  84. weighted:
  85. services:
  86. - name: foobar
  87. weight: 42
  88. - name: foobar
  89. weight: 42
  90. sticky:
  91. cookie:
  92. name: foobar
  93. secure: true
  94. httpOnly: true
  95. sameSite: foobar
  96. middlewares:
  97. Middleware00:
  98. addPrefix:
  99. prefix: foobar
  100. Middleware01:
  101. basicAuth:
  102. users:
  103. - foobar
  104. - foobar
  105. usersFile: foobar
  106. realm: foobar
  107. removeHeader: true
  108. headerField: foobar
  109. Middleware02:
  110. buffering:
  111. maxRequestBodyBytes: 42
  112. memRequestBodyBytes: 42
  113. maxResponseBodyBytes: 42
  114. memResponseBodyBytes: 42
  115. retryExpression: foobar
  116. Middleware03:
  117. chain:
  118. middlewares:
  119. - foobar
  120. - foobar
  121. Middleware04:
  122. circuitBreaker:
  123. expression: foobar
  124. Middleware05:
  125. compress:
  126. excludedContentTypes:
  127. - foobar
  128. - foobar
  129. Middleware06:
  130. contentType:
  131. autoDetect: true
  132. Middleware07:
  133. digestAuth:
  134. users:
  135. - foobar
  136. - foobar
  137. usersFile: foobar
  138. removeHeader: true
  139. realm: foobar
  140. headerField: foobar
  141. Middleware08:
  142. errors:
  143. status:
  144. - foobar
  145. - foobar
  146. service: foobar
  147. query: foobar
  148. Middleware09:
  149. forwardAuth:
  150. address: foobar
  151. tls:
  152. ca: foobar
  153. caOptional: true
  154. cert: foobar
  155. key: foobar
  156. insecureSkipVerify: true
  157. trustForwardHeader: true
  158. authResponseHeaders:
  159. - foobar
  160. - foobar
  161. authResponseHeadersRegex: foobar
  162. authRequestHeaders:
  163. - foobar
  164. - foobar
  165. Middleware10:
  166. headers:
  167. customRequestHeaders:
  168. name0: foobar
  169. name1: foobar
  170. customResponseHeaders:
  171. name0: foobar
  172. name1: foobar
  173. accessControlAllowCredentials: true
  174. accessControlAllowHeaders:
  175. - foobar
  176. - foobar
  177. accessControlAllowMethods:
  178. - foobar
  179. - foobar
  180. accessControlAllowOrigin: foobar
  181. accessControlAllowOriginList:
  182. - foobar
  183. - foobar
  184. accessControlAllowOriginListRegex:
  185. - foobar
  186. - foobar
  187. accessControlExposeHeaders:
  188. - foobar
  189. - foobar
  190. accessControlMaxAge: 42
  191. addVaryHeader: true
  192. allowedHosts:
  193. - foobar
  194. - foobar
  195. hostsProxyHeaders:
  196. - foobar
  197. - foobar
  198. sslRedirect: true
  199. sslTemporaryRedirect: true
  200. sslHost: foobar
  201. sslProxyHeaders:
  202. name0: foobar
  203. name1: foobar
  204. sslForceHost: true
  205. stsSeconds: 42
  206. stsIncludeSubdomains: true
  207. stsPreload: true
  208. forceSTSHeader: true
  209. frameDeny: true
  210. customFrameOptionsValue: foobar
  211. contentTypeNosniff: true
  212. browserXssFilter: true
  213. customBrowserXSSValue: foobar
  214. contentSecurityPolicy: foobar
  215. publicKey: foobar
  216. referrerPolicy: foobar
  217. featurePolicy: foobar
  218. isDevelopment: true
  219. Middleware11:
  220. ipWhiteList:
  221. sourceRange:
  222. - foobar
  223. - foobar
  224. ipStrategy:
  225. depth: 42
  226. excludedIPs:
  227. - foobar
  228. - foobar
  229. Middleware12:
  230. inFlightReq:
  231. amount: 42
  232. sourceCriterion:
  233. ipStrategy:
  234. depth: 42
  235. excludedIPs:
  236. - foobar
  237. - foobar
  238. requestHeaderName: foobar
  239. requestHost: true
  240. Middleware13:
  241. passTLSClientCert:
  242. pem: true
  243. info:
  244. notAfter: true
  245. notBefore: true
  246. sans: true
  247. subject:
  248. country: true
  249. province: true
  250. locality: true
  251. organization: true
  252. commonName: true
  253. serialNumber: true
  254. domainComponent: true
  255. issuer:
  256. country: true
  257. province: true
  258. locality: true
  259. organization: true
  260. commonName: true
  261. serialNumber: true
  262. domainComponent: true
  263. serialNumber: true
  264. Middleware14:
  265. plugin:
  266. PluginConf:
  267. foo: bar
  268. Middleware15:
  269. rateLimit:
  270. average: 42
  271. period: 42
  272. burst: 42
  273. sourceCriterion:
  274. ipStrategy:
  275. depth: 42
  276. excludedIPs:
  277. - foobar
  278. - foobar
  279. requestHeaderName: foobar
  280. requestHost: true
  281. Middleware16:
  282. redirectRegex:
  283. regex: foobar
  284. replacement: foobar
  285. permanent: true
  286. Middleware17:
  287. redirectScheme:
  288. scheme: foobar
  289. port: foobar
  290. permanent: true
  291. Middleware18:
  292. replacePath:
  293. path: foobar
  294. Middleware19:
  295. replacePathRegex:
  296. regex: foobar
  297. replacement: foobar
  298. Middleware20:
  299. retry:
  300. attempts: 42
  301. initialInterval: 42
  302. Middleware21:
  303. stripPrefix:
  304. prefixes:
  305. - foobar
  306. - foobar
  307. forceSlash: true
  308. Middleware22:
  309. stripPrefixRegex:
  310. regex:
  311. - foobar
  312. - foobar
  313. serversTransports:
  314. ServersTransport0:
  315. serverName: foobar
  316. insecureSkipVerify: true
  317. rootCAs:
  318. - foobar
  319. - foobar
  320. certificates:
  321. - certFile: foobar
  322. keyFile: foobar
  323. - certFile: foobar
  324. keyFile: foobar
  325. maxIdleConnsPerHost: 42
  326. forwardingTimeouts:
  327. dialTimeout: 42s
  328. responseHeaderTimeout: 42s
  329. idleConnTimeout: 42s
  330. ServersTransport1:
  331. serverName: foobar
  332. insecureSkipVerify: true
  333. rootCAs:
  334. - foobar
  335. - foobar
  336. certificates:
  337. - certFile: foobar
  338. keyFile: foobar
  339. - certFile: foobar
  340. keyFile: foobar
  341. maxIdleConnsPerHost: 42
  342. forwardingTimeouts:
  343. dialTimeout: 42s
  344. responseHeaderTimeout: 42s
  345. idleConnTimeout: 42s
  346. tcp:
  347. routers:
  348. TCPRouter0:
  349. entryPoints:
  350. - foobar
  351. - foobar
  352. service: foobar
  353. rule: foobar
  354. tls:
  355. passthrough: true
  356. options: foobar
  357. certResolver: foobar
  358. domains:
  359. - main: foobar
  360. sans:
  361. - foobar
  362. - foobar
  363. - main: foobar
  364. sans:
  365. - foobar
  366. - foobar
  367. TCPRouter1:
  368. entryPoints:
  369. - foobar
  370. - foobar
  371. service: foobar
  372. rule: foobar
  373. tls:
  374. passthrough: true
  375. options: foobar
  376. certResolver: foobar
  377. domains:
  378. - main: foobar
  379. sans:
  380. - foobar
  381. - foobar
  382. - main: foobar
  383. sans:
  384. - foobar
  385. - foobar
  386. services:
  387. TCPService01:
  388. loadBalancer:
  389. terminationDelay: 42
  390. proxyProtocol:
  391. version: 42
  392. servers:
  393. - address: foobar
  394. - address: foobar
  395. TCPService02:
  396. weighted:
  397. services:
  398. - name: foobar
  399. weight: 42
  400. - name: foobar
  401. weight: 42
  402. udp:
  403. routers:
  404. UDPRouter0:
  405. entryPoints:
  406. - foobar
  407. - foobar
  408. service: foobar
  409. UDPRouter1:
  410. entryPoints:
  411. - foobar
  412. - foobar
  413. service: foobar
  414. services:
  415. UDPService01:
  416. loadBalancer:
  417. servers:
  418. - address: foobar
  419. - address: foobar
  420. UDPService02:
  421. weighted:
  422. services:
  423. - name: foobar
  424. weight: 42
  425. - name: foobar
  426. weight: 42
  427. tls:
  428. certificates:
  429. - certFile: foobar
  430. keyFile: foobar
  431. stores:
  432. - foobar
  433. - foobar
  434. - certFile: foobar
  435. keyFile: foobar
  436. stores:
  437. - foobar
  438. - foobar
  439. options:
  440. Options0:
  441. minVersion: foobar
  442. maxVersion: foobar
  443. cipherSuites:
  444. - foobar
  445. - foobar
  446. curvePreferences:
  447. - foobar
  448. - foobar
  449. clientAuth:
  450. caFiles:
  451. - foobar
  452. - foobar
  453. clientAuthType: foobar
  454. sniStrict: true
  455. preferServerCipherSuites: true
  456. Options1:
  457. minVersion: foobar
  458. maxVersion: foobar
  459. cipherSuites:
  460. - foobar
  461. - foobar
  462. curvePreferences:
  463. - foobar
  464. - foobar
  465. clientAuth:
  466. caFiles:
  467. - foobar
  468. - foobar
  469. clientAuthType: foobar
  470. sniStrict: true
  471. preferServerCipherSuites: true
  472. stores:
  473. Store0:
  474. defaultCertificate:
  475. certFile: foobar
  476. keyFile: foobar
  477. Store1:
  478. defaultCertificate:
  479. certFile: foobar
  480. keyFile: foobar