Rancher Configuration Reference

Dynamic configuration with Rancher Labels

The labels are case insensitive.

  1. labels:
  2. - "traefik.enable=true"
  3. ## CODE GENERATED AUTOMATICALLY
  4. ## THIS FILE MUST NOT BE EDITED BY HAND
  5. - "traefik.http.middlewares.middleware01.addprefix.prefix=foobar"
  6. - "traefik.http.middlewares.middleware02.basicauth.headerfield=foobar"
  7. - "traefik.http.middlewares.middleware02.basicauth.realm=foobar"
  8. - "traefik.http.middlewares.middleware02.basicauth.removeheader=true"
  9. - "traefik.http.middlewares.middleware02.basicauth.users=foobar, foobar"
  10. - "traefik.http.middlewares.middleware02.basicauth.usersfile=foobar"
  11. - "traefik.http.middlewares.middleware03.buffering.maxrequestbodybytes=42"
  12. - "traefik.http.middlewares.middleware03.buffering.maxresponsebodybytes=42"
  13. - "traefik.http.middlewares.middleware03.buffering.memrequestbodybytes=42"
  14. - "traefik.http.middlewares.middleware03.buffering.memresponsebodybytes=42"
  15. - "traefik.http.middlewares.middleware03.buffering.retryexpression=foobar"
  16. - "traefik.http.middlewares.middleware04.chain.middlewares=foobar, foobar"
  17. - "traefik.http.middlewares.middleware05.circuitbreaker.checkperiod=42s"
  18. - "traefik.http.middlewares.middleware05.circuitbreaker.expression=foobar"
  19. - "traefik.http.middlewares.middleware05.circuitbreaker.fallbackduration=42s"
  20. - "traefik.http.middlewares.middleware05.circuitbreaker.recoveryduration=42s"
  21. - "traefik.http.middlewares.middleware06.compress=true"
  22. - "traefik.http.middlewares.middleware06.compress.excludedcontenttypes=foobar, foobar"
  23. - "traefik.http.middlewares.middleware06.compress.minresponsebodybytes=42"
  24. - "traefik.http.middlewares.middleware07.contenttype.autodetect=true"
  25. - "traefik.http.middlewares.middleware08.digestauth.headerfield=foobar"
  26. - "traefik.http.middlewares.middleware08.digestauth.realm=foobar"
  27. - "traefik.http.middlewares.middleware08.digestauth.removeheader=true"
  28. - "traefik.http.middlewares.middleware08.digestauth.users=foobar, foobar"
  29. - "traefik.http.middlewares.middleware08.digestauth.usersfile=foobar"
  30. - "traefik.http.middlewares.middleware09.errors.query=foobar"
  31. - "traefik.http.middlewares.middleware09.errors.service=foobar"
  32. - "traefik.http.middlewares.middleware09.errors.status=foobar, foobar"
  33. - "traefik.http.middlewares.middleware10.forwardauth.address=foobar"
  34. - "traefik.http.middlewares.middleware10.forwardauth.authrequestheaders=foobar, foobar"
  35. - "traefik.http.middlewares.middleware10.forwardauth.authresponseheaders=foobar, foobar"
  36. - "traefik.http.middlewares.middleware10.forwardauth.authresponseheadersregex=foobar"
  37. - "traefik.http.middlewares.middleware10.forwardauth.tls.ca=foobar"
  38. - "traefik.http.middlewares.middleware10.forwardauth.tls.caoptional=true"
  39. - "traefik.http.middlewares.middleware10.forwardauth.tls.cert=foobar"
  40. - "traefik.http.middlewares.middleware10.forwardauth.tls.insecureskipverify=true"
  41. - "traefik.http.middlewares.middleware10.forwardauth.tls.key=foobar"
  42. - "traefik.http.middlewares.middleware10.forwardauth.trustforwardheader=true"
  43. - "traefik.http.middlewares.middleware11.headers.accesscontrolallowcredentials=true"
  44. - "traefik.http.middlewares.middleware11.headers.accesscontrolallowheaders=foobar, foobar"
  45. - "traefik.http.middlewares.middleware11.headers.accesscontrolallowmethods=foobar, foobar"
  46. - "traefik.http.middlewares.middleware11.headers.accesscontrolalloworiginlist=foobar, foobar"
  47. - "traefik.http.middlewares.middleware11.headers.accesscontrolalloworiginlistregex=foobar, foobar"
  48. - "traefik.http.middlewares.middleware11.headers.accesscontrolexposeheaders=foobar, foobar"
  49. - "traefik.http.middlewares.middleware11.headers.accesscontrolmaxage=42"
  50. - "traefik.http.middlewares.middleware11.headers.addvaryheader=true"
  51. - "traefik.http.middlewares.middleware11.headers.allowedhosts=foobar, foobar"
  52. - "traefik.http.middlewares.middleware11.headers.browserxssfilter=true"
  53. - "traefik.http.middlewares.middleware11.headers.contentsecuritypolicy=foobar"
  54. - "traefik.http.middlewares.middleware11.headers.contenttypenosniff=true"
  55. - "traefik.http.middlewares.middleware11.headers.custombrowserxssvalue=foobar"
  56. - "traefik.http.middlewares.middleware11.headers.customframeoptionsvalue=foobar"
  57. - "traefik.http.middlewares.middleware11.headers.customrequestheaders.name0=foobar"
  58. - "traefik.http.middlewares.middleware11.headers.customrequestheaders.name1=foobar"
  59. - "traefik.http.middlewares.middleware11.headers.customresponseheaders.name0=foobar"
  60. - "traefik.http.middlewares.middleware11.headers.customresponseheaders.name1=foobar"
  61. - "traefik.http.middlewares.middleware11.headers.featurepolicy=foobar"
  62. - "traefik.http.middlewares.middleware11.headers.forcestsheader=true"
  63. - "traefik.http.middlewares.middleware11.headers.framedeny=true"
  64. - "traefik.http.middlewares.middleware11.headers.hostsproxyheaders=foobar, foobar"
  65. - "traefik.http.middlewares.middleware11.headers.isdevelopment=true"
  66. - "traefik.http.middlewares.middleware11.headers.permissionspolicy=foobar"
  67. - "traefik.http.middlewares.middleware11.headers.publickey=foobar"
  68. - "traefik.http.middlewares.middleware11.headers.referrerpolicy=foobar"
  69. - "traefik.http.middlewares.middleware11.headers.sslforcehost=true"
  70. - "traefik.http.middlewares.middleware11.headers.sslhost=foobar"
  71. - "traefik.http.middlewares.middleware11.headers.sslproxyheaders.name0=foobar"
  72. - "traefik.http.middlewares.middleware11.headers.sslproxyheaders.name1=foobar"
  73. - "traefik.http.middlewares.middleware11.headers.sslredirect=true"
  74. - "traefik.http.middlewares.middleware11.headers.ssltemporaryredirect=true"
  75. - "traefik.http.middlewares.middleware11.headers.stsincludesubdomains=true"
  76. - "traefik.http.middlewares.middleware11.headers.stspreload=true"
  77. - "traefik.http.middlewares.middleware11.headers.stsseconds=42"
  78. - "traefik.http.middlewares.middleware12.ipallowlist.ipstrategy=true"
  79. - "traefik.http.middlewares.middleware12.ipallowlist.ipstrategy.depth=42"
  80. - "traefik.http.middlewares.middleware12.ipallowlist.ipstrategy.excludedips=foobar, foobar"
  81. - "traefik.http.middlewares.middleware12.ipallowlist.sourcerange=foobar, foobar"
  82. - "traefik.http.middlewares.middleware13.ipwhitelist.ipstrategy=true"
  83. - "traefik.http.middlewares.middleware13.ipwhitelist.ipstrategy.depth=42"
  84. - "traefik.http.middlewares.middleware13.ipwhitelist.ipstrategy.excludedips=foobar, foobar"
  85. - "traefik.http.middlewares.middleware13.ipwhitelist.sourcerange=foobar, foobar"
  86. - "traefik.http.middlewares.middleware14.inflightreq.amount=42"
  87. - "traefik.http.middlewares.middleware14.inflightreq.sourcecriterion.ipstrategy.depth=42"
  88. - "traefik.http.middlewares.middleware14.inflightreq.sourcecriterion.ipstrategy.excludedips=foobar, foobar"
  89. - "traefik.http.middlewares.middleware14.inflightreq.sourcecriterion.requestheadername=foobar"
  90. - "traefik.http.middlewares.middleware14.inflightreq.sourcecriterion.requesthost=true"
  91. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.commonname=true"
  92. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.country=true"
  93. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.domaincomponent=true"
  94. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.locality=true"
  95. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.organization=true"
  96. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.province=true"
  97. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.issuer.serialnumber=true"
  98. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.notafter=true"
  99. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.notbefore=true"
  100. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.sans=true"
  101. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.serialnumber=true"
  102. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.commonname=true"
  103. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.country=true"
  104. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.domaincomponent=true"
  105. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.locality=true"
  106. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.organization=true"
  107. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.organizationalunit=true"
  108. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.province=true"
  109. - "traefik.http.middlewares.middleware15.passtlsclientcert.info.subject.serialnumber=true"
  110. - "traefik.http.middlewares.middleware15.passtlsclientcert.pem=true"
  111. - "traefik.http.middlewares.middleware16.plugin.pluginconf0.name0=foobar"
  112. - "traefik.http.middlewares.middleware16.plugin.pluginconf0.name1=foobar"
  113. - "traefik.http.middlewares.middleware16.plugin.pluginconf1.name0=foobar"
  114. - "traefik.http.middlewares.middleware16.plugin.pluginconf1.name1=foobar"
  115. - "traefik.http.middlewares.middleware17.ratelimit.average=42"
  116. - "traefik.http.middlewares.middleware17.ratelimit.burst=42"
  117. - "traefik.http.middlewares.middleware17.ratelimit.period=42s"
  118. - "traefik.http.middlewares.middleware17.ratelimit.sourcecriterion.ipstrategy.depth=42"
  119. - "traefik.http.middlewares.middleware17.ratelimit.sourcecriterion.ipstrategy.excludedips=foobar, foobar"
  120. - "traefik.http.middlewares.middleware17.ratelimit.sourcecriterion.requestheadername=foobar"
  121. - "traefik.http.middlewares.middleware17.ratelimit.sourcecriterion.requesthost=true"
  122. - "traefik.http.middlewares.middleware18.redirectregex.permanent=true"
  123. - "traefik.http.middlewares.middleware18.redirectregex.regex=foobar"
  124. - "traefik.http.middlewares.middleware18.redirectregex.replacement=foobar"
  125. - "traefik.http.middlewares.middleware19.redirectscheme.permanent=true"
  126. - "traefik.http.middlewares.middleware19.redirectscheme.port=foobar"
  127. - "traefik.http.middlewares.middleware19.redirectscheme.scheme=foobar"
  128. - "traefik.http.middlewares.middleware20.replacepath.path=foobar"
  129. - "traefik.http.middlewares.middleware21.replacepathregex.regex=foobar"
  130. - "traefik.http.middlewares.middleware21.replacepathregex.replacement=foobar"
  131. - "traefik.http.middlewares.middleware22.retry.attempts=42"
  132. - "traefik.http.middlewares.middleware22.retry.initialinterval=42s"
  133. - "traefik.http.middlewares.middleware23.stripprefix.forceslash=true"
  134. - "traefik.http.middlewares.middleware23.stripprefix.prefixes=foobar, foobar"
  135. - "traefik.http.middlewares.middleware24.stripprefixregex.regex=foobar, foobar"
  136. - "traefik.http.routers.router0.entrypoints=foobar, foobar"
  137. - "traefik.http.routers.router0.middlewares=foobar, foobar"
  138. - "traefik.http.routers.router0.priority=42"
  139. - "traefik.http.routers.router0.rule=foobar"
  140. - "traefik.http.routers.router0.service=foobar"
  141. - "traefik.http.routers.router0.tls=true"
  142. - "traefik.http.routers.router0.tls.certresolver=foobar"
  143. - "traefik.http.routers.router0.tls.domains[0].main=foobar"
  144. - "traefik.http.routers.router0.tls.domains[0].sans=foobar, foobar"
  145. - "traefik.http.routers.router0.tls.domains[1].main=foobar"
  146. - "traefik.http.routers.router0.tls.domains[1].sans=foobar, foobar"
  147. - "traefik.http.routers.router0.tls.options=foobar"
  148. - "traefik.http.routers.router1.entrypoints=foobar, foobar"
  149. - "traefik.http.routers.router1.middlewares=foobar, foobar"
  150. - "traefik.http.routers.router1.priority=42"
  151. - "traefik.http.routers.router1.rule=foobar"
  152. - "traefik.http.routers.router1.service=foobar"
  153. - "traefik.http.routers.router1.tls=true"
  154. - "traefik.http.routers.router1.tls.certresolver=foobar"
  155. - "traefik.http.routers.router1.tls.domains[0].main=foobar"
  156. - "traefik.http.routers.router1.tls.domains[0].sans=foobar, foobar"
  157. - "traefik.http.routers.router1.tls.domains[1].main=foobar"
  158. - "traefik.http.routers.router1.tls.domains[1].sans=foobar, foobar"
  159. - "traefik.http.routers.router1.tls.options=foobar"
  160. - "traefik.http.services.service02.loadbalancer.healthcheck.followredirects=true"
  161. - "traefik.http.services.service02.loadbalancer.healthcheck.headers.name0=foobar"
  162. - "traefik.http.services.service02.loadbalancer.healthcheck.headers.name1=foobar"
  163. - "traefik.http.services.service02.loadbalancer.healthcheck.hostname=foobar"
  164. - "traefik.http.services.service02.loadbalancer.healthcheck.interval=foobar"
  165. - "traefik.http.services.service02.loadbalancer.healthcheck.method=foobar"
  166. - "traefik.http.services.service02.loadbalancer.healthcheck.path=foobar"
  167. - "traefik.http.services.service02.loadbalancer.healthcheck.port=42"
  168. - "traefik.http.services.service02.loadbalancer.healthcheck.scheme=foobar"
  169. - "traefik.http.services.service02.loadbalancer.healthcheck.timeout=foobar"
  170. - "traefik.http.services.service02.loadbalancer.passhostheader=true"
  171. - "traefik.http.services.service02.loadbalancer.responseforwarding.flushinterval=foobar"
  172. - "traefik.http.services.service02.loadbalancer.serverstransport=foobar"
  173. - "traefik.http.services.service02.loadbalancer.sticky=true"
  174. - "traefik.http.services.service02.loadbalancer.sticky.cookie=true"
  175. - "traefik.http.services.service02.loadbalancer.sticky.cookie.httponly=true"
  176. - "traefik.http.services.service02.loadbalancer.sticky.cookie.name=foobar"
  177. - "traefik.http.services.service02.loadbalancer.sticky.cookie.samesite=foobar"
  178. - "traefik.http.services.service02.loadbalancer.sticky.cookie.secure=true"
  179. - "traefik.http.services.service02.loadbalancer.server.port=foobar"
  180. - "traefik.http.services.service02.loadbalancer.server.scheme=foobar"
  181. - "traefik.tcp.middlewares.tcpmiddleware01.ipallowlist.sourcerange=foobar, foobar"
  182. - "traefik.tcp.middlewares.tcpmiddleware02.ipwhitelist.sourcerange=foobar, foobar"
  183. - "traefik.tcp.middlewares.tcpmiddleware03.inflightconn.amount=42"
  184. - "traefik.tcp.routers.tcprouter0.entrypoints=foobar, foobar"
  185. - "traefik.tcp.routers.tcprouter0.middlewares=foobar, foobar"
  186. - "traefik.tcp.routers.tcprouter0.priority=42"
  187. - "traefik.tcp.routers.tcprouter0.rule=foobar"
  188. - "traefik.tcp.routers.tcprouter0.service=foobar"
  189. - "traefik.tcp.routers.tcprouter0.tls=true"
  190. - "traefik.tcp.routers.tcprouter0.tls.certresolver=foobar"
  191. - "traefik.tcp.routers.tcprouter0.tls.domains[0].main=foobar"
  192. - "traefik.tcp.routers.tcprouter0.tls.domains[0].sans=foobar, foobar"
  193. - "traefik.tcp.routers.tcprouter0.tls.domains[1].main=foobar"
  194. - "traefik.tcp.routers.tcprouter0.tls.domains[1].sans=foobar, foobar"
  195. - "traefik.tcp.routers.tcprouter0.tls.options=foobar"
  196. - "traefik.tcp.routers.tcprouter0.tls.passthrough=true"
  197. - "traefik.tcp.routers.tcprouter1.entrypoints=foobar, foobar"
  198. - "traefik.tcp.routers.tcprouter1.middlewares=foobar, foobar"
  199. - "traefik.tcp.routers.tcprouter1.priority=42"
  200. - "traefik.tcp.routers.tcprouter1.rule=foobar"
  201. - "traefik.tcp.routers.tcprouter1.service=foobar"
  202. - "traefik.tcp.routers.tcprouter1.tls=true"
  203. - "traefik.tcp.routers.tcprouter1.tls.certresolver=foobar"
  204. - "traefik.tcp.routers.tcprouter1.tls.domains[0].main=foobar"
  205. - "traefik.tcp.routers.tcprouter1.tls.domains[0].sans=foobar, foobar"
  206. - "traefik.tcp.routers.tcprouter1.tls.domains[1].main=foobar"
  207. - "traefik.tcp.routers.tcprouter1.tls.domains[1].sans=foobar, foobar"
  208. - "traefik.tcp.routers.tcprouter1.tls.options=foobar"
  209. - "traefik.tcp.routers.tcprouter1.tls.passthrough=true"
  210. - "traefik.tcp.services.tcpservice01.loadbalancer.proxyprotocol=true"
  211. - "traefik.tcp.services.tcpservice01.loadbalancer.proxyprotocol.version=42"
  212. - "traefik.tcp.services.tcpservice01.loadbalancer.terminationdelay=42"
  213. - "traefik.tcp.services.tcpservice01.loadbalancer.server.port=foobar"
  214. - "traefik.tls.stores.store0.defaultgeneratedcert.domain.main=foobar"
  215. - "traefik.tls.stores.store0.defaultgeneratedcert.domain.sans=foobar, foobar"
  216. - "traefik.tls.stores.store0.defaultgeneratedcert.resolver=foobar"
  217. - "traefik.tls.stores.store1.defaultgeneratedcert.domain.main=foobar"
  218. - "traefik.tls.stores.store1.defaultgeneratedcert.domain.sans=foobar, foobar"
  219. - "traefik.tls.stores.store1.defaultgeneratedcert.resolver=foobar"
  220. - "traefik.udp.routers.udprouter0.entrypoints=foobar, foobar"
  221. - "traefik.udp.routers.udprouter0.service=foobar"
  222. - "traefik.udp.routers.udprouter1.entrypoints=foobar, foobar"
  223. - "traefik.udp.routers.udprouter1.service=foobar"
  224. - "traefik.udp.services.udpservice01.loadbalancer.server.port=foobar"