File Configuration Reference

Dynamic configuration with files

YAML

  1. ## CODE GENERATED AUTOMATICALLY
  2. ## THIS FILE MUST NOT BE EDITED BY HAND
  3. http:
  4. routers:
  5. Router0:
  6. entryPoints:
  7. - foobar
  8. - foobar
  9. middlewares:
  10. - foobar
  11. - foobar
  12. service: foobar
  13. rule: foobar
  14. ruleSyntax: foobar
  15. priority: 42
  16. tls:
  17. options: foobar
  18. certResolver: foobar
  19. domains:
  20. - main: foobar
  21. sans:
  22. - foobar
  23. - foobar
  24. - main: foobar
  25. sans:
  26. - foobar
  27. - foobar
  28. observability:
  29. accessLogs: true
  30. tracing: true
  31. metrics: true
  32. Router1:
  33. entryPoints:
  34. - foobar
  35. - foobar
  36. middlewares:
  37. - foobar
  38. - foobar
  39. service: foobar
  40. rule: foobar
  41. ruleSyntax: foobar
  42. priority: 42
  43. tls:
  44. options: foobar
  45. certResolver: foobar
  46. domains:
  47. - main: foobar
  48. sans:
  49. - foobar
  50. - foobar
  51. - main: foobar
  52. sans:
  53. - foobar
  54. - foobar
  55. observability:
  56. accessLogs: true
  57. tracing: true
  58. metrics: true
  59. services:
  60. Service01:
  61. failover:
  62. service: foobar
  63. fallback: foobar
  64. healthCheck: {}
  65. Service02:
  66. loadBalancer:
  67. sticky:
  68. cookie:
  69. name: foobar
  70. secure: true
  71. httpOnly: true
  72. sameSite: foobar
  73. maxAge: 42
  74. path: foobar
  75. servers:
  76. - url: foobar
  77. weight: 42
  78. preservePath: true
  79. - url: foobar
  80. weight: 42
  81. preservePath: true
  82. healthCheck:
  83. scheme: foobar
  84. mode: foobar
  85. path: foobar
  86. method: foobar
  87. status: 42
  88. port: 42
  89. interval: 42s
  90. timeout: 42s
  91. hostname: foobar
  92. followRedirects: true
  93. headers:
  94. name0: foobar
  95. name1: foobar
  96. passHostHeader: true
  97. responseForwarding:
  98. flushInterval: 42s
  99. serversTransport: foobar
  100. Service03:
  101. mirroring:
  102. service: foobar
  103. mirrorBody: true
  104. maxBodySize: 42
  105. mirrors:
  106. - name: foobar
  107. percent: 42
  108. - name: foobar
  109. percent: 42
  110. healthCheck: {}
  111. Service04:
  112. weighted:
  113. services:
  114. - name: foobar
  115. weight: 42
  116. - name: foobar
  117. weight: 42
  118. sticky:
  119. cookie:
  120. name: foobar
  121. secure: true
  122. httpOnly: true
  123. sameSite: foobar
  124. maxAge: 42
  125. path: foobar
  126. healthCheck: {}
  127. middlewares:
  128. Middleware01:
  129. addPrefix:
  130. prefix: foobar
  131. Middleware02:
  132. basicAuth:
  133. users:
  134. - foobar
  135. - foobar
  136. usersFile: foobar
  137. realm: foobar
  138. removeHeader: true
  139. headerField: foobar
  140. Middleware03:
  141. buffering:
  142. maxRequestBodyBytes: 42
  143. memRequestBodyBytes: 42
  144. maxResponseBodyBytes: 42
  145. memResponseBodyBytes: 42
  146. retryExpression: foobar
  147. Middleware04:
  148. chain:
  149. middlewares:
  150. - foobar
  151. - foobar
  152. Middleware05:
  153. circuitBreaker:
  154. expression: foobar
  155. checkPeriod: 42s
  156. fallbackDuration: 42s
  157. recoveryDuration: 42s
  158. responseCode: 42
  159. Middleware06:
  160. compress:
  161. excludedContentTypes:
  162. - foobar
  163. - foobar
  164. includedContentTypes:
  165. - foobar
  166. - foobar
  167. minResponseBodyBytes: 42
  168. encodings:
  169. - foobar
  170. - foobar
  171. defaultEncoding: foobar
  172. Middleware07:
  173. contentType:
  174. autoDetect: true
  175. Middleware08:
  176. digestAuth:
  177. users:
  178. - foobar
  179. - foobar
  180. usersFile: foobar
  181. removeHeader: true
  182. realm: foobar
  183. headerField: foobar
  184. Middleware09:
  185. errors:
  186. status:
  187. - foobar
  188. - foobar
  189. service: foobar
  190. query: foobar
  191. Middleware10:
  192. forwardAuth:
  193. address: foobar
  194. tls:
  195. ca: foobar
  196. cert: foobar
  197. key: foobar
  198. insecureSkipVerify: true
  199. caOptional: true
  200. trustForwardHeader: true
  201. authResponseHeaders:
  202. - foobar
  203. - foobar
  204. authResponseHeadersRegex: foobar
  205. authRequestHeaders:
  206. - foobar
  207. - foobar
  208. addAuthCookiesToResponse:
  209. - foobar
  210. - foobar
  211. headerField: foobar
  212. forwardBody: true
  213. maxBodySize: 42
  214. preserveLocationHeader: true
  215. Middleware11:
  216. grpcWeb:
  217. allowOrigins:
  218. - foobar
  219. - foobar
  220. Middleware12:
  221. headers:
  222. customRequestHeaders:
  223. name0: foobar
  224. name1: foobar
  225. customResponseHeaders:
  226. name0: foobar
  227. name1: foobar
  228. accessControlAllowCredentials: true
  229. accessControlAllowHeaders:
  230. - foobar
  231. - foobar
  232. accessControlAllowMethods:
  233. - foobar
  234. - foobar
  235. accessControlAllowOriginList:
  236. - foobar
  237. - foobar
  238. accessControlAllowOriginListRegex:
  239. - foobar
  240. - foobar
  241. accessControlExposeHeaders:
  242. - foobar
  243. - foobar
  244. accessControlMaxAge: 42
  245. addVaryHeader: true
  246. allowedHosts:
  247. - foobar
  248. - foobar
  249. hostsProxyHeaders:
  250. - foobar
  251. - foobar
  252. sslProxyHeaders:
  253. name0: foobar
  254. name1: foobar
  255. stsSeconds: 42
  256. stsIncludeSubdomains: true
  257. stsPreload: true
  258. forceSTSHeader: true
  259. frameDeny: true
  260. customFrameOptionsValue: foobar
  261. contentTypeNosniff: true
  262. browserXssFilter: true
  263. customBrowserXSSValue: foobar
  264. contentSecurityPolicy: foobar
  265. contentSecurityPolicyReportOnly: foobar
  266. publicKey: foobar
  267. referrerPolicy: foobar
  268. permissionsPolicy: foobar
  269. isDevelopment: true
  270. featurePolicy: foobar
  271. sslRedirect: true
  272. sslTemporaryRedirect: true
  273. sslHost: foobar
  274. sslForceHost: true
  275. Middleware13:
  276. ipAllowList:
  277. sourceRange:
  278. - foobar
  279. - foobar
  280. ipStrategy:
  281. depth: 42
  282. excludedIPs:
  283. - foobar
  284. - foobar
  285. ipv6Subnet: 42
  286. rejectStatusCode: 42
  287. Middleware14:
  288. ipWhiteList:
  289. sourceRange:
  290. - foobar
  291. - foobar
  292. ipStrategy:
  293. depth: 42
  294. excludedIPs:
  295. - foobar
  296. - foobar
  297. ipv6Subnet: 42
  298. Middleware15:
  299. inFlightReq:
  300. amount: 42
  301. sourceCriterion:
  302. ipStrategy:
  303. depth: 42
  304. excludedIPs:
  305. - foobar
  306. - foobar
  307. ipv6Subnet: 42
  308. requestHeaderName: foobar
  309. requestHost: true
  310. Middleware16:
  311. passTLSClientCert:
  312. pem: true
  313. info:
  314. notAfter: true
  315. notBefore: true
  316. sans: true
  317. serialNumber: true
  318. subject:
  319. country: true
  320. province: true
  321. locality: true
  322. organization: true
  323. organizationalUnit: true
  324. commonName: true
  325. serialNumber: true
  326. domainComponent: true
  327. issuer:
  328. country: true
  329. province: true
  330. locality: true
  331. organization: true
  332. commonName: true
  333. serialNumber: true
  334. domainComponent: true
  335. Middleware17:
  336. plugin:
  337. PluginConf0:
  338. name0: foobar
  339. name1: foobar
  340. PluginConf1:
  341. name0: foobar
  342. name1: foobar
  343. Middleware18:
  344. rateLimit:
  345. average: 42
  346. period: 42s
  347. burst: 42
  348. sourceCriterion:
  349. ipStrategy:
  350. depth: 42
  351. excludedIPs:
  352. - foobar
  353. - foobar
  354. ipv6Subnet: 42
  355. requestHeaderName: foobar
  356. requestHost: true
  357. Middleware19:
  358. redirectRegex:
  359. regex: foobar
  360. replacement: foobar
  361. permanent: true
  362. Middleware20:
  363. redirectScheme:
  364. scheme: foobar
  365. port: foobar
  366. permanent: true
  367. Middleware21:
  368. replacePath:
  369. path: foobar
  370. Middleware22:
  371. replacePathRegex:
  372. regex: foobar
  373. replacement: foobar
  374. Middleware23:
  375. retry:
  376. attempts: 42
  377. initialInterval: 42s
  378. Middleware24:
  379. stripPrefix:
  380. prefixes:
  381. - foobar
  382. - foobar
  383. forceSlash: true
  384. Middleware25:
  385. stripPrefixRegex:
  386. regex:
  387. - foobar
  388. - foobar
  389. serversTransports:
  390. ServersTransport0:
  391. serverName: foobar
  392. insecureSkipVerify: true
  393. rootCAs:
  394. - foobar
  395. - foobar
  396. certificates:
  397. - certFile: foobar
  398. keyFile: foobar
  399. - certFile: foobar
  400. keyFile: foobar
  401. maxIdleConnsPerHost: 42
  402. forwardingTimeouts:
  403. dialTimeout: 42s
  404. responseHeaderTimeout: 42s
  405. idleConnTimeout: 42s
  406. readIdleTimeout: 42s
  407. pingTimeout: 42s
  408. disableHTTP2: true
  409. peerCertURI: foobar
  410. spiffe:
  411. ids:
  412. - foobar
  413. - foobar
  414. trustDomain: foobar
  415. ServersTransport1:
  416. serverName: foobar
  417. insecureSkipVerify: true
  418. rootCAs:
  419. - foobar
  420. - foobar
  421. certificates:
  422. - certFile: foobar
  423. keyFile: foobar
  424. - certFile: foobar
  425. keyFile: foobar
  426. maxIdleConnsPerHost: 42
  427. forwardingTimeouts:
  428. dialTimeout: 42s
  429. responseHeaderTimeout: 42s
  430. idleConnTimeout: 42s
  431. readIdleTimeout: 42s
  432. pingTimeout: 42s
  433. disableHTTP2: true
  434. peerCertURI: foobar
  435. spiffe:
  436. ids:
  437. - foobar
  438. - foobar
  439. trustDomain: foobar
  440. tcp:
  441. routers:
  442. TCPRouter0:
  443. entryPoints:
  444. - foobar
  445. - foobar
  446. middlewares:
  447. - foobar
  448. - foobar
  449. service: foobar
  450. rule: foobar
  451. ruleSyntax: foobar
  452. priority: 42
  453. tls:
  454. passthrough: true
  455. options: foobar
  456. certResolver: foobar
  457. domains:
  458. - main: foobar
  459. sans:
  460. - foobar
  461. - foobar
  462. - main: foobar
  463. sans:
  464. - foobar
  465. - foobar
  466. TCPRouter1:
  467. entryPoints:
  468. - foobar
  469. - foobar
  470. middlewares:
  471. - foobar
  472. - foobar
  473. service: foobar
  474. rule: foobar
  475. ruleSyntax: foobar
  476. priority: 42
  477. tls:
  478. passthrough: true
  479. options: foobar
  480. certResolver: foobar
  481. domains:
  482. - main: foobar
  483. sans:
  484. - foobar
  485. - foobar
  486. - main: foobar
  487. sans:
  488. - foobar
  489. - foobar
  490. services:
  491. TCPService01:
  492. loadBalancer:
  493. proxyProtocol:
  494. version: 42
  495. servers:
  496. - address: foobar
  497. tls: true
  498. - address: foobar
  499. tls: true
  500. serversTransport: foobar
  501. terminationDelay: 42
  502. TCPService02:
  503. weighted:
  504. services:
  505. - name: foobar
  506. weight: 42
  507. - name: foobar
  508. weight: 42
  509. middlewares:
  510. TCPMiddleware01:
  511. ipAllowList:
  512. sourceRange:
  513. - foobar
  514. - foobar
  515. TCPMiddleware02:
  516. ipWhiteList:
  517. sourceRange:
  518. - foobar
  519. - foobar
  520. TCPMiddleware03:
  521. inFlightConn:
  522. amount: 42
  523. serversTransports:
  524. TCPServersTransport0:
  525. dialKeepAlive: 42s
  526. dialTimeout: 42s
  527. terminationDelay: 42s
  528. tls:
  529. serverName: foobar
  530. insecureSkipVerify: true
  531. rootCAs:
  532. - foobar
  533. - foobar
  534. certificates:
  535. - certFile: foobar
  536. keyFile: foobar
  537. - certFile: foobar
  538. keyFile: foobar
  539. peerCertURI: foobar
  540. spiffe:
  541. ids:
  542. - foobar
  543. - foobar
  544. trustDomain: foobar
  545. TCPServersTransport1:
  546. dialKeepAlive: 42s
  547. dialTimeout: 42s
  548. terminationDelay: 42s
  549. tls:
  550. serverName: foobar
  551. insecureSkipVerify: true
  552. rootCAs:
  553. - foobar
  554. - foobar
  555. certificates:
  556. - certFile: foobar
  557. keyFile: foobar
  558. - certFile: foobar
  559. keyFile: foobar
  560. peerCertURI: foobar
  561. spiffe:
  562. ids:
  563. - foobar
  564. - foobar
  565. trustDomain: foobar
  566. udp:
  567. routers:
  568. UDPRouter0:
  569. entryPoints:
  570. - foobar
  571. - foobar
  572. service: foobar
  573. UDPRouter1:
  574. entryPoints:
  575. - foobar
  576. - foobar
  577. service: foobar
  578. services:
  579. UDPService01:
  580. loadBalancer:
  581. servers:
  582. - address: foobar
  583. - address: foobar
  584. UDPService02:
  585. weighted:
  586. services:
  587. - name: foobar
  588. weight: 42
  589. - name: foobar
  590. weight: 42
  591. tls:
  592. certificates:
  593. - certFile: foobar
  594. keyFile: foobar
  595. stores:
  596. - foobar
  597. - foobar
  598. - certFile: foobar
  599. keyFile: foobar
  600. stores:
  601. - foobar
  602. - foobar
  603. options:
  604. Options0:
  605. minVersion: foobar
  606. maxVersion: foobar
  607. cipherSuites:
  608. - foobar
  609. - foobar
  610. curvePreferences:
  611. - foobar
  612. - foobar
  613. clientAuth:
  614. caFiles:
  615. - foobar
  616. - foobar
  617. clientAuthType: foobar
  618. sniStrict: true
  619. alpnProtocols:
  620. - foobar
  621. - foobar
  622. preferServerCipherSuites: true
  623. Options1:
  624. minVersion: foobar
  625. maxVersion: foobar
  626. cipherSuites:
  627. - foobar
  628. - foobar
  629. curvePreferences:
  630. - foobar
  631. - foobar
  632. clientAuth:
  633. caFiles:
  634. - foobar
  635. - foobar
  636. clientAuthType: foobar
  637. sniStrict: true
  638. alpnProtocols:
  639. - foobar
  640. - foobar
  641. preferServerCipherSuites: true
  642. stores:
  643. Store0:
  644. defaultCertificate:
  645. certFile: foobar
  646. keyFile: foobar
  647. defaultGeneratedCert:
  648. resolver: foobar
  649. domain:
  650. main: foobar
  651. sans:
  652. - foobar
  653. - foobar
  654. Store1:
  655. defaultCertificate:
  656. certFile: foobar
  657. keyFile: foobar
  658. defaultGeneratedCert:
  659. resolver: foobar
  660. domain:
  661. main: foobar
  662. sans:
  663. - foobar
  664. - foobar

TOML

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