Releases: undying/nginx-html2x-module
Adds support for "orientation" option
Bugfix
unescape header.center
Adds object settings uri unescape if $arg_ used as configuration value.
Bugfix
Fixes bug with async writer
v1.1.1 fixes async bug
Adds support for dynamic configuration
Now it's possible to configure wkhtmltopdf with nginx configuration file.
Supported options:
wkhtmltopdf_dpi - What dpi should we use when printing, e.g. "80".
wkhtmltopdf_image_dpi - The maximal DPI to use for images in the pdf document.
wkhtmltopdf_web_default_encoding - What encoding should we guess content is using if they do not specify it properly? E.g. "utf-8".
wkhtmltopdf_header_center - The text to print in the center part of the header.
wkhtmltopdf_header_fontsize - The font size to use for the header, e.g. "13"
wkhtmltopdf_margin_top - Size of the top margin, e.g. "2cm"
wkhtmltopdf_margin_right - Size of the right margin, e.g. "2cm"
wkhtmltopdf_margin_bottom - Size of the bottom margin, e.g. "2cm"
wkhtmltopdf_margin_left - Size of the left margin, e.g. "2cm"
wkhtmltopdf_size_page_size - The paper size of the output document, e.g. "A4".
All options supports nginx variables.
More details available in official documentation: https://wkhtmltopdf.org/libwkhtmltox/pagesettings.html