From 5467620b3281e4a08ab6d23ba4244928475b20f5 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 9 Jun 2020 16:38:28 +0200 Subject: [PATCH] adding warning about URL conversion to a Docker Compose service named app --- build/docs/content/03-environment-variables.md | 5 +++-- build/docs/content/05-url.md | 3 +++ docs/index.html | 18 +++++++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/build/docs/content/03-environment-variables.md b/build/docs/content/03-environment-variables.md index b41bb314..415dd020 100644 --- a/build/docs/content/03-environment-variables.md +++ b/build/docs/content/03-environment-variables.md @@ -60,9 +60,10 @@ The hard limit is 100 MB and is defined by Google Chrome itself. ## Google Chrome ignore certificate errors -When performing a [URL](#url) conversion, Google Chrome will not accept certificate errors . +When performing a [URL](#url) conversion, Google Chrome will not accept certificate errors. + +You may allow insecure connections by setting the `GOOGLE_CHROME_IGNORE_CERTIFICATE_ERRORS` environment variable to `"1"`. -You may allow insecure connections by setting the `GOOGLE_CHROME_IGNORE_CERTIFICATE_ERRORS` environment variable to `"1"`. **You should be careful with this feature and only enable it in your development environment.** ## Disable LibreOffice (unoconv) diff --git a/build/docs/content/05-url.md b/build/docs/content/05-url.md index fc307445..be892405 100644 --- a/build/docs/content/05-url.md +++ b/build/docs/content/05-url.md @@ -14,6 +14,9 @@ named `remoteURL` instead. Otherwise, URL conversions work the same as HTML conv > **Attention:** when converting a website to PDF, you should remove all margins. > If not, some of the content of the page might be hidden. +> **Attention:** if you try to convert a URL from a Docker Compose service named `app` (i.e. `removeURL` = `http://app/an/entrypoint`), +> the resulting PDF will be blank. Make sure to rename your service to avoid this issue. + ### cURL ```bash diff --git a/docs/index.html b/docs/index.html index dea88e1f..606e9133 100755 --- a/docs/index.html +++ b/docs/index.html @@ -336,10 +336,11 @@ See the rpcc buffer size section.

Google Chrome ignore certificate errors -

When performing a URL conversion, Google Chrome will not accept certificate errors .

+

When performing a URL conversion, Google Chrome will not accept certificate errors.

-

You may allow insecure connections by setting the GOOGLE_CHROME_IGNORE_CERTIFICATE_ERRORS environment variable to "1". -You should be careful with this feature and only enable it in your development environment.

+

You may allow insecure connections by setting the GOOGLE_CHROME_IGNORE_CERTIFICATE_ERRORS environment variable to "1".

+ +

You should be careful with this feature and only enable it in your development environment.

Custom HTTP headers

@@ -1791,4 +1791,4 @@ restart your Gotenberg instances from time to time to ensure a nominal behaviour - + \ No newline at end of file