Skip to main content

Traefik setup on whm

Comments

3 comments

  • cPanelLauren
    If it runs on CentOS or a cPanel supported Operating system it is probably possible but you would need to contact their developers to find this out. It looks like they have support links here: containous/traefik
    0
  • ffeingol
    @DPNmw Totally out of curiosity, what are you trying to do with Traefik on a cPanel server? Personally I run Traefik on a home system with with docker and sub-domains to route traffic (vs having to remember oddball ports) but I'm interested in a use case for using it on a cPanel server.
    0
  • Ryan K
    I'm working on this as well as I prefer using cpanel to manage certain domains. Best idea I have is creating an nginx docker container and mounting like -v /etc/nginx:/etc/nginx This way all the generated config files made by cpanel/easyapache4 are picked up by the container and basically cloning the bare metal nginx. I'm using an apache config with nginx so for example nginx:80 will get the request and send it to httpd:81 If you're not using nginx, then you could make an apache2 container and have it mount /etc/httpd or wherever your apache configs are. If there are better ideas I'd like to hear as well.
    0

Please sign in to leave a comment.