نعم، أنا أستخدم مقبسًا على وكيل الاسترجاع المحلي خارج الحاوية، وتحقق، لقد اتبعت الخطوة 5 في app.yml.
/var/discourse/containers# grep web.socketed.template.yml app.yml
- "templates/web.socketed.template.yml"
/var/discourse/containers# grep templates/web.ssl.template.yml app.yml
# - "templates/web.ssl.template.yml"
/var/discourse/containers# grep templates/web.letsencrypt.ssl.template.yml app.yml
# - "templates/web.letsencrypt.ssl.template.yml"
/var/discourse/containers# grep http app.yml
# - "80:80" # http
# - "443:443" # https
/var/discourse/containers# grep DISCOURSE_FORCE_HTTPS app.yml
DISCOURSE_FORCE_HTTPS: true
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
## Uncomment the next line to enable the IPv6 listener
#- "templates/web.ipv6.template.yml"
- "templates/web.ratelimited.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
# - "templates/web.ssl.template.yml"
# - "templates/web.letsencrypt.ssl.template.yml"
- "templates/web.socketed.template.yml"
## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
#expose:
# - "80:80" # http
# - "443:443" # https
لقد راجعت هذا: Discourse working with jwilder /nginx proxy & acme-companion
لكنني لا أستطيع حقًا فهم أي شيء منه فيما يتعلق بمشكلتي…