Reverse Proxy Manual edits

I have my reverse proxy setup and working, but my nextcloud entry needs some manual edits to remove the caldav errors and HSTS warning. I have the correct syntax to fix it, verified by entering in the correct section in virtualhosts.conf file. Obviously, this file is occasionally overwritten. What would be the correct way to make this change permanent? Can I create a file for this proxy entry, and the changes required? Should I remove the file from the the GUI configuration altogether and add a manual file for the entire site?

@BigSteve

Hi Steve

NethServer uses the e-smith Templating system from SME-Server (Koozali).

You’ld need to copy ove whatever you need from

/etc/e-smith/templates/etc/httpd/conf.d/

to

/etc/e-smith/templates-custom/etc/httpd/conf.d/

Adapt the files there, then restart apache.
You can also manually “expand” the files to /etc/

expand-template /etc/httpd/conf.d

Or whatever…

If exists in templates-custom, this takes precedence over whatever is in templates…

My 2 cents
Andy