Thank you for your help.
Here is the solution that worked for me:
- I disabled Let’s Encrypt and HTTPS:
#- templates/web.ssl.template.yml
#- templates/web.letsencrypt.ssl.template.yml
- HAProxy now handles SSL certificates for Discourse
- I used this configuration in the
/var/discourse/containers/app.ymlfile
run:
- replace:
filename: /etc/nginx/conf.d/discourse.conf
from: "types {"
to: |
set_real_ip_from 192.168.1.8; # HAProxy IP ADDRESS
real_ip_header X-Forwarded-For;
real_ip_recursive on;
types {
and now I do have the public IPs in the Discourse admin interface:
Thanks again for your help. ![]()
