Read More links in Email

My Read More URL is pointing to
I want to remove the :80 in that URL. Where do I customize this URL that is set in Read More of the emails that discourse sends?


Sounds like you have a bum install. Did you install using our official install guide. Discourse only works on the official HTTPS/HTTP ports.

1 Like

My installation of discourse is over 3 years old. I switched from http from https, and this happens when I try to set force_https in the settings. If that force_https unselected, the “Read More” links in emails are fine.

Is there a chance you’re running behind a reverse proxy of sorts?

1 Like

How did you install three years ago? Did you follow the official guide?

Yes, I followed the official guide.

If I go to my server, I see the docker instance running like this.

# docker ps
CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS              PORTS                                        NAMES
199f1145dc33        local_discourse/app   "/sbin/boot"        6 weeks ago         Up 6 weeks>22/tcp,>80/tcp   app

How and where is the link to “Read More” in the emails set? Why did it add to :80 when force_https is set. I don’t know.

Like @itsbhanusharma suggested, the problem is likely in whatever is reverse proxying to port 8090 and is handling https.


What is the output of

netstat -alpn | grep 80

On the Host machine

Hi @itsbhanusharma - Sorry, I missed your question.
Yes, I am serving the site through ngnix.

root@www:~# netstat -alpn | grep 80
tcp        0      0    *               LISTEN      1016/nginx      

https is handled by nginx which has letsencrypt certs loaded.

Can you share your nginx config here? Redact any personal information.

1 Like

Does your discourse get the correct ip addresses or that of the nginx?

Follow this to check a few things: