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