mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Activate gzip on Marie's website
This commit is contained in:
parent
00cfb9a1c1
commit
6f003bfa4f
3 changed files with 36 additions and 3 deletions
|
|
@ -11,13 +11,15 @@ services:
|
|||
labels:
|
||||
- "traefik.backend=website-marie"
|
||||
- "traefik.docker.network=web"
|
||||
- "traefik.frontend.rule=Host:osteopathie.froidmont.org"
|
||||
- "traefik.frontend.rule=Host:osteopathie.froidmont.org,www.osteopathie.froidmont.org"
|
||||
- "traefik.frontend.redirect.regex=^https?://www.osteopathie.froidmont.org/(.*)"
|
||||
- "traefik.frontend.redirect.replacement=https://osteopathie.froidmont.org/$${1}"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.port=80"
|
||||
- "traefik.default.protocol=http"
|
||||
volumes:
|
||||
- /var/lib/website-marie:/usr/share/nginx/html:ro
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
networks:
|
||||
- web
|
||||
restart: always
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue