version: "3.8" networks: traefik: name: traefik external: true services: nginx: build: . container_name: hfbz-nginx restart: always labels: - traefik.enable=true - traefik.http.routers.hfbz-nginx.rule=HostRegexp(`^(www\.)?xn--fiqa592br0dm3gfp6c\.com$`) - traefik.http.routers.hfbz-nginx.entrypoints=web,websecure networks: - traefik