Im trying to redirect from the local server ip (192.168.1.3) or the hostname (pi.local) to the node-red dashboard (pi.local:1880/ui).
My setup used to work, however its now trying to add in 'https' instead of 'http' to my url. So fails to load any webpage... Any ideas how to force this back to http?
Traefik.yml
# Log level INFO|DEBUG|ERROR
log:
level: DEBUG
api:
dashboard: true
insecure: true
entryPoints:
http:
address: ":80"
traefik:
address: ":8089"
web:
address: ":8081"
http:
redirections:
entryPoint:
to: http
scheme: http
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
file:
filename: /config.yml
My config.yml
http:
routers:
nodered:
rule: "Host(`pi.local`) || Host(`192.168.1.3`)"
middlewares:
- add-ui
service: nodered
services:
nodered:
loadBalancer:
servers:
- url: "http://192.168.1.3:1880"
middlewares:
add-ui:
addPrefix:
prefix: "/ui"