I’m trying to update nginx to permanently redirect from a
domain.com/subdomain. Based nginx best practices, it looks like I should add a new server block with a return statement. Based on how Discourse works with Digital Ocean, it looks like I want to make the change in
containers/app.yml. I’ve made other smaller changes by using
replace, but in this case I want to add an entire server block. What’s the best way to accomplish this?