DPNmw

Member
Jan 6, 2016
10
0
1
cPanel Access Level
Root Administrator
Hi, is it possible to install Traefik on my cpanel/whm server without affecting my whm/cpanel services? I've been unable to find any information on this online.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
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
 

ffeingol

Well-Known Member
PartnerNOC
Nov 9, 2001
947
425
363
cPanel Access Level
DataCenter Provider
@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.
 

Ryan K

Registered
Nov 24, 2015
1
0
51
NYC
cPanel Access Level
Root Administrator
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.