Untitled
unknown
toml
a month ago
2.9 kB
2
Indexable
Never
labels: - traefik.enable=true #------------- routers for: odoo -------------- # http - traefik.http.routers.${INSTANS}-http.rule=Host(`${DOMAIN}`) - traefik.http.routers.${INSTANS}-http.entrypoints=http - traefik.http.routers.${INSTANS}-http.middlewares=${INSTANS}-https-redirect - traefik.http.routers.${INSTANS}-http.service=${INSTANS} # https - traefik.http.routers.${INSTANS}-https.rule=Host(`${DOMAIN}`) - traefik.http.routers.${INSTANS}-https.entrypoints=https - traefik.http.routers.${INSTANS}-https.service=${INSTANS} - traefik.http.routers.${INSTANS}-https.tls.certresolver=${CERTRESOLVER} - traefik.http.routers.${INSTANS}-https.middlewares=gzip,sslheader,limit #---------- routes for: odoo/longpolling ------------ # http - traefik.http.routers.${INSTANS}-im-http.rule=Host(`${DOMAIN}`) && (PathPrefix(`/websocket`)) - traefik.http.routers.${INSTANS}-im-http.entrypoints=http - traefik.http.routers.${INSTANS}-im-http.middlewares=${INSTANS}-im-https-redirect - traefik.http.routers.${INSTANS}-im-http.service=${INSTANS}-im # https - traefik.http.routers.${INSTANS}-im-https.tls=true - traefik.http.routers.${INSTANS}-im-https.rule=Host(`${DOMAIN}`) && (PathPrefix(`/websocket`)) - traefik.http.routers.${INSTANS}-im-https.entrypoints=https - traefik.http.routers.${INSTANS}-im-https.service=${INSTANS}-im - traefik.http.routers.${INSTANS}-im-https.tls.certresolver=cloudflare - traefik.http.routers.${INSTANS}-im-https.middlewares=gzip,sslheader,limit,upgradeheader #============== services ================= - traefik.http.services.${INSTANS}.loadbalancer.server.port=8069 - traefik.http.services.${INSTANS}-im.loadbalancer.server.port=8072 #=============== middlewares =============== - traefik.http.middlewares.${INSTANS}-https-redirect.redirectscheme.scheme=https - traefik.http.middlewares.${INSTANS}-https-redirect.redirectscheme.permanent=true - traefik.http.middlewares.${INSTANS}-im-https-redirect.redirectscheme.scheme=https - traefik.http.middlewares.${INSTANS}-im-https-redirect.redirectscheme.permanent=true - traefik.http.middlewares.gzip.compress=true - traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=20971520 - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=20971520 - traefik.http.middlewares.upgradeheader.headers.customRequestHeaders.Upgrade=websocket - traefik.http.middlewares.upgradeheader.headers.customRequestHeaders.Connection=upgrade - traefik.http.middlewares.upgradeheader.headers.hostsproxyheaders=websocket,Upgrade - traefik.http.middlewares.upgradeheader.headers.forcestsheader=true
Leave a Comment