Self-hosted discourse instance appending "7d" to the FQDN

No, sorry. I ave no idea why that’s happening. Do you have a CDN or reverse proxy by any chance?