Docker: Improve HTTPS docs for cloud config
This commit is contained in:
parent
2573fa4729
commit
5a32414e03
2 changed files with 4 additions and 4 deletions
|
@ -109,14 +109,14 @@ services:
|
|||
# !! REMOVE default route if your server has a public domain name !!
|
||||
- "traefik.http.routers.photoprism.rule=PathPrefix(`/`)"
|
||||
# !! UNCOMMENT and CHANGE to set the public domain name !!
|
||||
# - "traefik.http.routers.photoprism.rule=Host(`custom.domain.com`)"
|
||||
# - "traefik.http.routers.photoprism.rule=Host(`photos.yourdomain.com`)"
|
||||
# !! UNCOMMENT to enable Let's Encrypt HTTPS !!
|
||||
# - "traefik.http.routers.photoprism.tls.certresolver=myresolver"
|
||||
# !! REMOVE both for Let's Encrypt HTTPS with default HTTP challenge (DNS challenge supports wildcards) !!
|
||||
- "traefik.http.routers.photoprism.tls.domains[0].main=example.com"
|
||||
- "traefik.http.routers.photoprism.tls.domains[0].sans=*.example.com"
|
||||
environment:
|
||||
# !! CHANGE site url if your server has a public domain name !!
|
||||
# !! CHANGE site url if your server has a public domain name e.g. "https://photos.yourdomain.com/" !!
|
||||
PHOTOPRISM_SITE_URL: "https://_public_ip_/"
|
||||
PHOTOPRISM_SITE_TITLE: "PhotoPrism"
|
||||
PHOTOPRISM_SITE_CAPTION: "Browse Your Life"
|
||||
|
|
|
@ -42,8 +42,8 @@ certificatesResolvers:
|
|||
myresolver:
|
||||
# See https://doc.traefik.io/traefik/https/acme/
|
||||
acme:
|
||||
# !! REPLACE "info@example.com" with your actual email address for Let's Encrypt HTTPS !!
|
||||
email: info@example.com
|
||||
# !! REPLACE "info@yourdomain.com" with your actual email address for Let's Encrypt HTTPS !!
|
||||
email: info@yourdomain.com
|
||||
storage: /data/letsencrypt.json
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
|
|
Loading…
Reference in a new issue