Skip to content

Releases: undying/nginx-html2x-module

Adds support for "orientation" option

14 Jun 19:50

Choose a tag to compare

Bugfix

16 Jan 14:01

Choose a tag to compare

  • fixes document compilation
  • reduces allocations

unescape header.center

03 Dec 21:06

Choose a tag to compare

Adds object settings uri unescape if $arg_ used as configuration value.

Bugfix

26 Nov 12:40

Choose a tag to compare

  • fixes in memory buffer
  • fixes wkhtmltopdf_web_default_encoding option name

Fixes bug with async writer

25 Nov 19:25

Choose a tag to compare

v1.1.1

fixes async bug

Adds support for dynamic configuration

23 Nov 20:41

Choose a tag to compare

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

v1.0.0

08 Nov 22:29

Choose a tag to compare

adds versioned html2x