File Configuration Reference

Dynamic configuration with files

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. healthCheck: {}
  79. mirrors:
  80. - name: foobar
  81. percent: 42
  82. - name: foobar
  83. percent: 42
  84. Service03:
  85. weighted:
  86. healthCheck: {}
  87. services:
  88. - name: foobar
  89. weight: 42
  90. - name: foobar
  91. weight: 42
  92. sticky:
  93. cookie:
  94. name: foobar
  95. secure: true
  96. httpOnly: true
  97. sameSite: foobar
  98. Service04:
  99. failover:
  100. service: foobar
  101. fallback: foobar
  102. healthCheck: {}
  103. middlewares:
  104. Middleware00:
  105. addPrefix:
  106. prefix: foobar
  107. Middleware01:
  108. basicAuth:
  109. users:
  110. - foobar
  111. - foobar
  112. usersFile: foobar
  113. realm: foobar
  114. removeHeader: true
  115. headerField: foobar
  116. Middleware02:
  117. buffering:
  118. maxRequestBodyBytes: 42
  119. memRequestBodyBytes: 42
  120. maxResponseBodyBytes: 42
  121. memResponseBodyBytes: 42
  122. retryExpression: foobar
  123. Middleware03:
  124. chain:
  125. middlewares:
  126. - foobar
  127. - foobar
  128. Middleware04:
  129. circuitBreaker:
  130. expression: foobar
  131. checkPeriod: 42s
  132. fallbackDuration: 42s
  133. recoveryDuration: 42s
  134. Middleware05:
  135. compress:
  136. excludedContentTypes:
  137. - foobar
  138. - foobar
  139. minResponseBodyBytes: 42
  140. Middleware06:
  141. contentType:
  142. autoDetect: true
  143. Middleware07:
  144. digestAuth:
  145. users:
  146. - foobar
  147. - foobar
  148. usersFile: foobar
  149. removeHeader: true
  150. realm: foobar
  151. headerField: foobar
  152. Middleware08:
  153. errors:
  154. status:
  155. - foobar
  156. - foobar
  157. service: foobar
  158. query: foobar
  159. Middleware09:
  160. forwardAuth:
  161. address: foobar
  162. tls:
  163. ca: foobar
  164. caOptional: true
  165. cert: foobar
  166. key: foobar
  167. insecureSkipVerify: true
  168. trustForwardHeader: true
  169. authResponseHeaders:
  170. - foobar
  171. - foobar
  172. authResponseHeadersRegex: foobar
  173. authRequestHeaders:
  174. - foobar
  175. - foobar
  176. Middleware10:
  177. headers:
  178. customRequestHeaders:
  179. name0: foobar
  180. name1: foobar
  181. customResponseHeaders:
  182. name0: foobar
  183. name1: foobar
  184. accessControlAllowCredentials: true
  185. accessControlAllowHeaders:
  186. - foobar
  187. - foobar
  188. accessControlAllowMethods:
  189. - foobar
  190. - foobar
  191. accessControlAllowOriginList:
  192. - foobar
  193. - foobar
  194. accessControlAllowOriginListRegex:
  195. - foobar
  196. - foobar
  197. accessControlExposeHeaders:
  198. - foobar
  199. - foobar
  200. accessControlMaxAge: 42
  201. addVaryHeader: true
  202. allowedHosts:
  203. - foobar
  204. - foobar
  205. hostsProxyHeaders:
  206. - foobar
  207. - foobar
  208. sslRedirect: true
  209. sslTemporaryRedirect: true
  210. sslHost: foobar
  211. sslProxyHeaders:
  212. name0: foobar
  213. name1: foobar
  214. sslForceHost: true
  215. stsSeconds: 42
  216. stsIncludeSubdomains: true
  217. stsPreload: true
  218. forceSTSHeader: true
  219. frameDeny: true
  220. customFrameOptionsValue: foobar
  221. contentTypeNosniff: true
  222. browserXssFilter: true
  223. customBrowserXSSValue: foobar
  224. contentSecurityPolicy: foobar
  225. publicKey: foobar
  226. referrerPolicy: foobar
  227. featurePolicy: foobar
  228. permissionsPolicy: foobar
  229. isDevelopment: true
  230. Middleware11:
  231. ipWhiteList:
  232. sourceRange:
  233. - foobar
  234. - foobar
  235. ipStrategy:
  236. depth: 42
  237. excludedIPs:
  238. - foobar
  239. - foobar
  240. Middleware12:
  241. inFlightReq:
  242. amount: 42
  243. sourceCriterion:
  244. ipStrategy:
  245. depth: 42
  246. excludedIPs:
  247. - foobar
  248. - foobar
  249. requestHeaderName: foobar
  250. requestHost: true
  251. Middleware13:
  252. passTLSClientCert:
  253. pem: true
  254. info:
  255. notAfter: true
  256. notBefore: true
  257. sans: true
  258. subject:
  259. country: true
  260. province: true
  261. locality: true
  262. organization: true
  263. organizationalUnit: true
  264. commonName: true
  265. serialNumber: true
  266. domainComponent: true
  267. issuer:
  268. country: true
  269. province: true
  270. locality: true
  271. organization: true
  272. commonName: true
  273. serialNumber: true
  274. domainComponent: true
  275. serialNumber: true
  276. Middleware14:
  277. plugin:
  278. PluginConf:
  279. foo: bar
  280. Middleware15:
  281. rateLimit:
  282. average: 42
  283. period: 42s
  284. burst: 42
  285. sourceCriterion:
  286. ipStrategy:
  287. depth: 42
  288. excludedIPs:
  289. - foobar
  290. - foobar
  291. requestHeaderName: foobar
  292. requestHost: true
  293. Middleware16:
  294. redirectRegex:
  295. regex: foobar
  296. replacement: foobar
  297. permanent: true
  298. Middleware17:
  299. redirectScheme:
  300. scheme: foobar
  301. port: foobar
  302. permanent: true
  303. Middleware18:
  304. replacePath:
  305. path: foobar
  306. Middleware19:
  307. replacePathRegex:
  308. regex: foobar
  309. replacement: foobar
  310. Middleware20:
  311. retry:
  312. attempts: 42
  313. initialInterval: 42s
  314. Middleware21:
  315. stripPrefix:
  316. prefixes:
  317. - foobar
  318. - foobar
  319. forceSlash: true
  320. Middleware22:
  321. stripPrefixRegex:
  322. regex:
  323. - foobar
  324. - foobar
  325. serversTransports:
  326. ServersTransport0:
  327. serverName: foobar
  328. insecureSkipVerify: true
  329. rootCAs:
  330. - foobar
  331. - foobar
  332. certificates:
  333. - certFile: foobar
  334. keyFile: foobar
  335. - certFile: foobar
  336. keyFile: foobar
  337. maxIdleConnsPerHost: 42
  338. forwardingTimeouts:
  339. dialTimeout: 42s
  340. responseHeaderTimeout: 42s
  341. idleConnTimeout: 42s
  342. readIdleTimeout: 42s
  343. pingTimeout: 42s
  344. disableHTTP2: true
  345. peerCertURI: foobar
  346. ServersTransport1:
  347. serverName: foobar
  348. insecureSkipVerify: true
  349. rootCAs:
  350. - foobar
  351. - foobar
  352. certificates:
  353. - certFile: foobar
  354. keyFile: foobar
  355. - certFile: foobar
  356. keyFile: foobar
  357. maxIdleConnsPerHost: 42
  358. forwardingTimeouts:
  359. dialTimeout: 42s
  360. responseHeaderTimeout: 42s
  361. idleConnTimeout: 42s
  362. readIdleTimeout: 42s
  363. pingTimeout: 42s
  364. disableHTTP2: true
  365. peerCertURI: foobar
  366. tcp:
  367. routers:
  368. TCPRouter0:
  369. entryPoints:
  370. - foobar
  371. - foobar
  372. middlewares:
  373. - foobar
  374. - foobar
  375. service: foobar
  376. rule: foobar
  377. priority: 42
  378. tls:
  379. passthrough: true
  380. options: foobar
  381. certResolver: foobar
  382. domains:
  383. - main: foobar
  384. sans:
  385. - foobar
  386. - foobar
  387. - main: foobar
  388. sans:
  389. - foobar
  390. - foobar
  391. TCPRouter1:
  392. entryPoints:
  393. - foobar
  394. - foobar
  395. middlewares:
  396. - foobar
  397. - foobar
  398. service: foobar
  399. rule: foobar
  400. priority: 42
  401. tls:
  402. passthrough: true
  403. options: foobar
  404. certResolver: foobar
  405. domains:
  406. - main: foobar
  407. sans:
  408. - foobar
  409. - foobar
  410. - main: foobar
  411. sans:
  412. - foobar
  413. - foobar
  414. services:
  415. TCPService01:
  416. loadBalancer:
  417. terminationDelay: 42
  418. proxyProtocol:
  419. version: 42
  420. servers:
  421. - address: foobar
  422. - address: foobar
  423. TCPService02:
  424. weighted:
  425. services:
  426. - name: foobar
  427. weight: 42
  428. - name: foobar
  429. weight: 42
  430. middlewares:
  431. TCPMiddleware00:
  432. ipWhiteList:
  433. sourceRange:
  434. - foobar
  435. - foobar
  436. TCPMiddleware01:
  437. inFlightConn:
  438. amount: 42
  439. udp:
  440. routers:
  441. UDPRouter0:
  442. entryPoints:
  443. - foobar
  444. - foobar
  445. service: foobar
  446. UDPRouter1:
  447. entryPoints:
  448. - foobar
  449. - foobar
  450. service: foobar
  451. services:
  452. UDPService01:
  453. loadBalancer:
  454. servers:
  455. - address: foobar
  456. - address: foobar
  457. UDPService02:
  458. weighted:
  459. services:
  460. - name: foobar
  461. weight: 42
  462. - name: foobar
  463. weight: 42
  464. tls:
  465. certificates:
  466. - certFile: foobar
  467. keyFile: foobar
  468. stores:
  469. - foobar
  470. - foobar
  471. - certFile: foobar
  472. keyFile: foobar
  473. stores:
  474. - foobar
  475. - foobar
  476. options:
  477. Options0:
  478. minVersion: foobar
  479. maxVersion: foobar
  480. cipherSuites:
  481. - foobar
  482. - foobar
  483. curvePreferences:
  484. - foobar
  485. - foobar
  486. clientAuth:
  487. caFiles:
  488. - foobar
  489. - foobar
  490. clientAuthType: foobar
  491. sniStrict: true
  492. preferServerCipherSuites: true
  493. alpnProtocols:
  494. - foobar
  495. - foobar
  496. Options1:
  497. minVersion: foobar
  498. maxVersion: foobar
  499. cipherSuites:
  500. - foobar
  501. - foobar
  502. curvePreferences:
  503. - foobar
  504. - foobar
  505. clientAuth:
  506. caFiles:
  507. - foobar
  508. - foobar
  509. clientAuthType: foobar
  510. sniStrict: true
  511. preferServerCipherSuites: true
  512. alpnProtocols:
  513. - foobar
  514. - foobar
  515. stores:
  516. Store0:
  517. defaultCertificate:
  518. certFile: foobar
  519. keyFile: foobar
  520. Store1:
  521. defaultCertificate:
  522. certFile: foobar
  523. keyFile: foobar

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