Having CSRF token issues at login… solution in simple… sort of, temporary:
We have to add the following line to /etc/httpd/conf.d/zammad.conf:
RequestHeader set X_FORWARDED_PROTO ‘https’
RequestHeader set X-Forwarded-Ssl on
But of course it will be overwritten at some point.
So I tried to make a custom template, but it looks like it won’t work in an additional VirtualHost block:
/etc/e-smith/templates-custom/etc/httpd/conf.d/zammad.conf/csrf
<VirtualHost *:443>
RequestHeader set X_FORWARDED_PROTO ‘https’
RequestHeader set X-Forwarded-Ssl on
</VirtualHost>
expand-template /etc/httpd/conf.d/zammad.conf
@mrmarkuz may you please add these lines to the <VirtualHost *:443> section in file
root/etc/e-smith/templates/etc/httpd/conf.d/zammad.conf/10main ?
Or is there any other way to add these inside the *:443 section?
As a workaround you may overwrite the 10main template fragment just by copying it to templates-custom and edit it as needed for now.
I am going to add this to the module asap.