Pdfkit.from_url 504 gateway time-out

Test environment is no problem, the production environment is not OK, especially when combined with nginx

same problem

you can consider window.print()