Hello,
Thanks for the reply, I have updated my question. the network is external
networks:
traefik_public:
external: true
Cert are generated by Traefik(Self-singed) and added Host
rule in labels like below
...
- "traefik.http.routers.portainer.rule=Host(`192.168.0.120`) && PathPrefix(`/portainer`)"
...
Still getting 404
. Because I'm using in LAN, I had to use IPs instead of hostname(dont have internal DNS)
I was able to do fine with Nginx like below
...
location /portainer/ {
proxy_pass http://portainer:9000/;
proxy_set_header Host $http_host;
}
...
I decided to migrate all service to Traefik