symfony-docker
symfony-docker copied to clipboard
It's possible to use many domains with Caddy?
There is a way to deploy the project with many domains (sub-domains) ?
like :
SERVER_NAME=fr.example.com, en.example.com \
APP_SECRET=ChangeMe \
CADDY_MERCURE_JWT_SECRET=ChangeMe \
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
I never try, I think that should work see more detail here : https://caddy.community/t/multiple-domains/1761
I never try, I think that should work see more detail here : https://caddy.community/t/multiple-domains/1761
I'm sure that's possible but I'm asking if it can be done with the current project configuration And how? It's my first experience with caddy, but i read many documentation about abd did't find the answer.
This should work:
SERVER_NAME='domain1.com, domain2.com' docker compose up -f docker-compose.yaml -f docker-compose.prod.yaml -d