Solved: Setting up a reverse proxy for .well-known

Im setting up a matrix home server on a different machine

One of the instructions requires to setup some info in ./well-known/matrix/*

[](https://Link im following)

I’m gonna use option 3 from that link

however, i heard that Nginx config gets changed on each update of miab

is there a way to add this configuration to Nginx without it getting removed?

my other option is to give access of the root domain to the matrix homeserver

tldr: i want to reverse proxy* (controlled by miab box) to*


found this, why is this feature undocumented?