Hello. I'm new at traefik. Before, i used to use apache2 to create a virtual host configuration files for my services (websites, web services,...) before deploying them . Now, i decide to move to traefik. But there is something i don't understand:
- When i want to publish a website project on my server with traefik (docker), do i need to create an apache configuration file (for the website) again before creating my docker service?
I have followed lot of tutoriels and in most of them, they ask to give the hostname and the port of the service in docker with labels. But if there is no apache2 virtual host file, will it works?
I'm using traefik 1.7. Without creating apache2 configuration file, i can deploy an html web site with traefik by using httpd:alpine image. But when i try it with php websites , i have error with fonctions require_once or include.