Setting to edit canonical URL base?

(BaButtons) #1

This might be a noob question, but is there somewhere where I can configure the domain that canonical URLs are built from? In my case, I have the forum hosted on but with a reverse proxy pointing to However, my canonical URLs still start with, and I’d like to fix that.

(Jeff Atwood) #2

It’s in the app.yml file. Edit that and rebuild.

(BaButtons) #3

Thanks for the prompt response. I didn’t know I could change the DISCOURSE_HOSTNAME without affecting forum functionality in the case of a reverse proxy. Very cool. :slight_smile: