Removed www. subdomains to personal and client websites - Didn't work. Need to investigate

This commit is contained in:
Luke Else 2023-09-21 11:05:11 +01:00
parent 32c579c3c8
commit a005de1324

View File

@ -16,10 +16,10 @@ services:
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https" - "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.personal-insecure.middlewares=redirect-web-secure" - "traefik.http.routers.personal-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.personal-insecure.rule=Host(`luke-else.co.uk`, 'www.luke-else.co.uk')" - "traefik.http.routers.personal-insecure.rule=Host(`luke-else.co.uk`)"
- "traefik.http.routers.personal-insecure.entrypoints=web" - "traefik.http.routers.personal-insecure.entrypoints=web"
- "traefik.http.routers.personal.rule=Host(`luke-else.co.uk`, 'www.luke-else.co.uk')" - "traefik.http.routers.personal.rule=Host(`luke-else.co.uk`)"
- "traefik.http.routers.personal.entrypoints=websecure" - "traefik.http.routers.personal.entrypoints=websecure"
- "traefik.http.routers.personal.tls.certresolver=myresolver" - "traefik.http.routers.personal.tls.certresolver=myresolver"
restart: unless-stopped restart: unless-stopped
@ -37,10 +37,10 @@ services:
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https" - "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.snexo-insecure.middlewares=redirect-web-secure" - "traefik.http.routers.snexo-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.snexo-insecure.rule=Host(`snexo.co.uk`, 'www.snexo.co.uk')" - "traefik.http.routers.snexo-insecure.rule=Host(`snexo.co.uk`)"
- "traefik.http.routers.snexo-insecure.entrypoints=web" - "traefik.http.routers.snexo-insecure.entrypoints=web"
- "traefik.http.routers.snexo.rule=Host(`snexo.co.uk`, 'www.senxo.co.uk')" - "traefik.http.routers.snexo.rule=Host(`snexo.co.uk`)"
- "traefik.http.routers.snexo.entrypoints=websecure" - "traefik.http.routers.snexo.entrypoints=websecure"
- "traefik.http.routers.snexo.tls.certresolver=myresolver" - "traefik.http.routers.snexo.tls.certresolver=myresolver"
restart: unless-stopped restart: unless-stopped