diff --git a/.env.sample b/.env.sample index 6029932..55cecd0 100644 --- a/.env.sample +++ b/.env.sample @@ -1,8 +1,6 @@ TYPE=peertube DOMAIN=peertube.example.com # <= EDIT THIS -## Domain aliases -#EXTRA_DOMAINS=', `www.peertube.example.com`' LETS_ENCRYPT_ENV=production PEERTUBE_WEBSERVER_PORT=443 diff --git a/compose.yml b/compose.yml index 752c98a..36fffcb 100644 --- a/compose.yml +++ b/compose.yml @@ -23,7 +23,7 @@ services: labels: - "traefik.enable=true" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" - - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" + - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" healthcheck: