Skip to content

Use subdomains with Traefik #1

@janniklasrose

Description

@janniklasrose

It would be better to differentiate services by subdomain instead of path prefix. This prevents possible name clashes between services, especially with Django coming. It also makes Django easier to manage if the path matches what is used inside the Django image.

E.g.:

  • traefik.$DOMAIN_NAME
    • /dashboard
    • /api
    • /whoami
  • ...

Once implemented in traefik & docker-compose, the subdomains need to be added to the DNS of the network router (in this case the ZyXEL VMG8825-T50).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions