After you changed the files did you restart the discourse container? (or at least reloaded nginx in the container)