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