Can I change a config file inside a snap? (nexcloud)

I am running nextcloud-snap in ubuntu server 20.04 and I have a problem that requires the change of the apache configuration included inside (if you want to look at it, I need to apply this change: https://github.com/CollaboraOnline/richdocumentscode/issues/119).

Is there a way I can change the configuration of the virtual host?

there is a good bunch of already existing apache related snap options you can set as well as pointers to where the nextcloud-snap stores its raw config at: