Yet another wkhtmltopdf thread

Sure, send a PR and make sure tests pass, it’s backward compatible with everything including helm charts, or specify migration guide.

We can completely override the nginx template file by mounting a custom one. No need to do any change to frappe_docker in that case.

Someone else did this trick and used $updated_host instead of $host in custom nginx conf template.

map $host $updated_host {
    default $host;
    "sitehost" erp.example.com;
}

Further you can even change /etc/hosts using extra_hosts for docker or equivalent configuration for other orchestrators.

2 Likes