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