Hi @varaande
Since you are running on prem, one of the approaches is to keep the dispatcher configuration in git source control for better versioning and for deployments you can use GitHub action workflows or any other tools to upload the latest to the Apache server.
Please find the below link for reference . It has shell scripts written to connect to the server and upload.
https://github.com/kiransg89/AEM-Dispatcher-module-deployment/tree/master
Hope it helps!