From 5a2a017175a119a808fca33231f99e0c4ae874af Mon Sep 17 00:00:00 2001 From: David Legrand Date: Thu, 23 Jan 2025 19:10:10 +0100 Subject: [PATCH 1/7] fix: Java EOL source --- data/runtime_versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/runtime_versions.yml b/data/runtime_versions.yml index 7ae06583..8695a9ee 100644 --- a/data/runtime_versions.yml +++ b/data/runtime_versions.yml @@ -50,7 +50,7 @@ elixir: - "1.15" - "1.16" java: - eol_source: "https://www.oracle.com/fr/java/technologies/java-se-support-roadmap.html" + eol_source: "https://adoptium.net/fr/support/" default: - "11" accepted: From ccb5cd2db3dcb426b909b04a816be15c5c1a1ddf Mon Sep 17 00:00:00 2001 From: David Legrand Date: Thu, 23 Jan 2025 19:48:55 +0100 Subject: [PATCH 2/7] Elixir: 1.18 as default, 1.13 EOL --- content/doc/reference/reference-environment-variables.md | 2 +- data/runtime_versions.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/doc/reference/reference-environment-variables.md b/content/doc/reference/reference-environment-variables.md index 90de8fbe..01cbd4af 100644 --- a/content/doc/reference/reference-environment-variables.md +++ b/content/doc/reference/reference-environment-variables.md @@ -166,7 +166,7 @@ If `TAILSCALE_LOGIN_SERVER` is provided, the agent will be configured to reach a | Name | Description | Default value | |-----------------------|------------------------------|--------------------------------| - |`CC_ELIXIR_VERSION` | Choose the Elixir version between `1.8`, `1.9`, `1.10`, `1.11`, `1.12`, `1.13`, `1.14`, `1.15` or `1.16` | 1.16 | + |`CC_ELIXIR_VERSION` | Choose the Elixir version among [those supported](/developers/doc/applications/elixir/#mandatory-configuration) | | |`CC_MIX_BUILD_GOAL` | The mix goal to build the application (default compile) | | |`CC_PHOENIX_ASSETS_DIR` | Folder in which your Phoenix assets are located. | | |`CC_PHOENIX_DIGEST_GOAL` | Phoenix digest goal. | phx.digest | diff --git a/data/runtime_versions.yml b/data/runtime_versions.yml index 8695a9ee..09ec90b4 100644 --- a/data/runtime_versions.yml +++ b/data/runtime_versions.yml @@ -38,17 +38,18 @@ dotnet: elixir: eol_source: "https://hexdocs.pm/elixir/compatibility-and-deprecations.html" default: - - "1.17" + - "1.18" accepted: - "1.8 (EOL)" - "1.9 (EOL)" - "1.10 (EOL)" - "1.11 (EOL)" - "1.12 (EOL)" - - "1.13" + - "1.13 (EOL)" - "1.14" - "1.15" - "1.16" + - "1.17" java: eol_source: "https://adoptium.net/fr/support/" default: From 03145b1314d3cb36956b60b1c8209e4b0dbed661 Mon Sep 17 00:00:00 2001 From: David Legrand Date: Thu, 23 Jan 2025 19:49:17 +0100 Subject: [PATCH 3/7] changelog: Elixir 1.18 --- .../2025/01-22-elixir-1.18-image-update.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 content/changelog/2025/01-22-elixir-1.18-image-update.md diff --git a/content/changelog/2025/01-22-elixir-1.18-image-update.md b/content/changelog/2025/01-22-elixir-1.18-image-update.md new file mode 100644 index 00000000..f2ad242d --- /dev/null +++ b/content/changelog/2025/01-22-elixir-1.18-image-update.md @@ -0,0 +1,15 @@ +--- +title: "Elixir 1.18 is available" +date: 2025-01-22 +tags: + - images + - update +authors: + - name: David Legrand + link: https://github.com/davlgd + image: https://github.com/davlgd.png?size=40 +description: Elixir 1.13 is now end-of-life +excludeSearch: true +--- + +We deployed an updated Elixir image with no impact for our users. It uses `1.18` release by default and Linux Kernel `6.12.9`. From cb7f4683c0ed91907a92ccc1de6b9766712140fa Mon Sep 17 00:00:00 2001 From: Rachel-nas <77396432+Rachel-nas@users.noreply.github.com> Date: Mon, 27 Jan 2025 15:36:28 +0100 Subject: [PATCH 4/7] typo correction in networking and IP adresses ranges (#512) ## Describe your PR _I just fixed the oven by two, because there are no longer 4 but 2 IP ranges_ ## Checklist - [ ] My PR is related to an opened issue : # - [x] I've read the [contributing guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md) ## Reviewers _Who should review these changes?_ @CleverCloud/reviewers Co-authored-by: Rachel Nascimento --- content/doc/administrate/network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/doc/administrate/network.md b/content/doc/administrate/network.md index 27977811..a4f7ac1f 100644 --- a/content/doc/administrate/network.md +++ b/content/doc/administrate/network.md @@ -55,7 +55,7 @@ If you are interested, please ask the support / your sales contact for a quote. The Paris region is owned and handled by Clever Cloud. We own or entrust the associated AS's and IP addresses ranges. -Here are the current four addresses ranges your application may have an outgoing IP in: +Here are the current two addresses ranges your application may have an outgoing IP in: - 91.208.207.0/24 - 185.133.116.0/22 From 9e53d56e736458478283f72fc836f0036dc6445b Mon Sep 17 00:00:00 2001 From: Julia March <101819212+juliamrch@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:46:28 +0900 Subject: [PATCH 5/7] Update external-doc-update.yml --- .github/workflows/external-doc-update.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/external-doc-update.yml b/.github/workflows/external-doc-update.yml index 68e351b7..7fe7a04d 100644 --- a/.github/workflows/external-doc-update.yml +++ b/.github/workflows/external-doc-update.yml @@ -31,6 +31,7 @@ jobs: with: files: | content/guides/astro.md + context/guides/nuxt.md # Create issue and assign PR author - name: Create issue From bbc0c093e3aa34653cc83875a2d6dae8a94b7ab0 Mon Sep 17 00:00:00 2001 From: Stanislav Sauvin Date: Fri, 24 Jan 2025 16:52:38 +0100 Subject: [PATCH 6/7] Add SSH/SFTP public keys for FSBucket addons --- content/doc/addons/fs-bucket.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/content/doc/addons/fs-bucket.md b/content/doc/addons/fs-bucket.md index eb414cb0..54d9612c 100644 --- a/content/doc/addons/fs-bucket.md +++ b/content/doc/addons/fs-bucket.md @@ -119,6 +119,35 @@ variable, see [special environment variables]({{< ref "doc/develop/env-variables The **File explorer** tab of the **add-on dashboard** gives you access to your files in the FS bucket. +### From your favorite SFTP client + +The **Add-on information** tab of your FS Bucket in [Clever Cloud Console](https://console.clever-cloud.com) displays information you need to connect using SSH File Transfer Protocol (SFTP). You can use the following SSH public keys to ensure the connection is authentic and trusted: + +| Algorithm | Key size | Fingerprint | +|-----------|----------|----------------------------------------------------| +| ED25519 | 256 | `SHA256:+ku6hhQb1O3OVzkZa2B+htPD+P+5K/X6QQYWXym/4Zo` | +| ED25519 | 256 | `SHA256:8tZzRvA3Fh9poG7g1bu8m0LQS819UBh7AYcEXJYiPqw` | +| ED25519 | 256 | `SHA256:HHGCP5cf0jQbQrIRXjiC9aYJGNQ+L9ijOmJUueLp+9A` | +| ED25519 | 256 | `SHA256:Hyt6ox+v2Lrvdfl29jwe1/dBq9zh2fmq2DO6rqurl7o` | +| ED25519 | 256 | `SHA256:drShQbl3Ox+sYYYP+urOCtuMiJFh7k1kECdvZ4hMuAE` | +| ED25519 | 256 | `SHA256:h1oUNRkYaIycchUsyAXPQHnu6MtTF2YUEYuisu+vnOE` | +| RSA | 4096 | `SHA256:+550bmBCNAHscjOmKrdweueVUz2E6h1KzmSV+0c0U7w` | +| RSA | 4096 | `SHA256:1O7d6cdmqj42Dw4nX90Y+6zIFTUI+aIwD0SLMQuj0ko` | +| RSA | 4096 | `SHA256:AkHQnQXJ1lFEtliLHl8hlG7NiIZZgVn/uuRMCZJOKJk` | +| RSA | 4096 | `SHA256:Atxhx7U0MOuZC7e4vs1tpyTJmNttB7d4+HNC5hiavFo` | +| RSA | 4096 | `SHA256:Bla7GeL6hggg+rf6iDlKMrzIhxEBYB3VL7Q6PYGJYt4` | +| RSA | 4096 | `SHA256:H5ZhQ/5JdMPSG49ojUNEhwSuRD663mnIJb/YDFFntyk` | +| RSA | 4096 | `SHA256:TZr6eFrzoJmn4RS55Tb6yTd+WV9lTGtW0q+uLVbI7IE` | +| RSA | 4096 | `SHA256:ZYFb1AsB+q++NRf7yW8E5rNOfxTRwjpJt6hqFP/NBNs` | +| RSA | 4096 | `SHA256:d+nTyowvYtcxF28mCUu1ilqPJuLMExGyJ16Sv/pvoVY` | +| RSA | 4096 | `SHA256:flpv4s3VxOrQFc/IG+BpR1s9dgDvR07A6zunNqO4Co0` | +| RSA | 4096 | `SHA256:hvZN8rgSG82weLOeMTXdh1VwhjuRv+MJNnUt/X9R39g` | +| RSA | 4096 | `SHA256:ls20B8C6Jdqx7RPQAjzVX7KmnrHizJum2sEvNhMcl60` | +| RSA | 4096 | `SHA256:u1AzFc2AdFmlPRdNIZsn0sQJ/CKbfC2ZmXnQfabPek4` | +| RSA | 4096 | `SHA256:wUPBX3X5gALgxXqD+IwG5qPRb0jbiOZ8/U1BOZeNhtk` | +| RSA | 4096 | `SHA256:yRHC/tAlBpHLlRZ5rwbZ1z+159Bj3yg0VxHf+hXINLg` | +| RSA | 4096 | `SHA256:yhn79aqxOGQZ+LXdN1/vIY+jwRIbBamlVT1+HdFoA6o` | + ### From your favorite FTP client The **Add-on information** tab of your FS Bucket add-on displays the information From c88aa1b639684a371f7dd3ac6f38f9cfa3c9ac66 Mon Sep 17 00:00:00 2001 From: Corentin BARAULT <74433435+Kirbeerus@users.noreply.github.com> Date: Tue, 28 Jan 2025 17:16:57 +0100 Subject: [PATCH 7/7] Add prerender.io to Static doc (#491) ## Describe your PR Some client may want to prerender there SPA application to have better SEO. One of the way to do it is by using prerender.io Added a part in the documentation to talk about how to do it on Clever Cloud. You can check if prerender.io work correctly on your app by using this guide. https://docs.prerender.io/docs/how-to-test-your-site-after-you-have-successfully-validated-your-prerender-integration ## Checklist - [x] My PR is related to an opened issue : # - [x] I've read the [contributing guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md) ## Reviewers _Who should review these changes?_ @CleverCloud/reviewers --------- Co-authored-by: Julia March <101819212+juliamrch@users.noreply.github.com> Co-authored-by: Pierre L. / Peyo <166715564+PLhuillery@users.noreply.github.com> --- content/doc/applications/static/_index.md | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/content/doc/applications/static/_index.md b/content/doc/applications/static/_index.md index 51f9c596..186b2a06 100644 --- a/content/doc/applications/static/_index.md +++ b/content/doc/applications/static/_index.md @@ -66,6 +66,36 @@ RewriteRule ^ - [L] RewriteRule ^ /index.html ``` +## Prerendering with Prerender.io + +When you use a SPA framework, you are using Client side rendering. +One of the problem with this method is a poor SEO as search engine crawlers have more difficulty reading the content of this type of application. +To minimize this issue, prerendering can be a solution. + +If you want to Prerender your application on Clever Cloud, one solution is to use [Prerender.io](https://prerender.io/). +To use it with our static applications, you need a `.htaccess` file like this at the root of your project: + +```ApacheConf + + RequestHeader set X-Prerender-Token "" + RequestHeader set X-Prerender-Version "prerender-apache@2.0.0" + + + + RewriteEngine On + + + RewriteCond %{HTTP_USER_AGENT} googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|redditbot|applebot|flipboard|tumblr|bitlybot|skypeuripreview|nuzzel|discordbot|google\ page\ speed|qwantify|bitrix\ link\ preview|xing-contenttabreceiver|google-inspectiontool|chrome-lighthouse|telegrambot [NC,OR] + RewriteCond %{QUERY_STRING} _escaped_fragment_ + RewriteCond %{REQUEST_URI} ^(?!.*?(\.js|\.css|\.xml|\.less|\.png|\.jpg|\.jpeg|\.gif|\.pdf|\.doc|\.txt|\.ico|\.rss|\.zip|\.mp3|\.rar|\.exe|\.wmv|\.doc|\.avi|\.ppt|\.mpg|\.mpeg|\.tif|\.wav|\.mov|\.psd|\.ai|\.xls|\.mp4|\.m4a|\.swf|\.dat|\.dmg|\.iso|\.flv|\.m4v|\.torrent|\.ttf|\.woff|\.svg)) + + RewriteRule ^(index\.html|index\.php)?(.*) http://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}$2 [P,END] + + +``` +You can find your `PRERENDER_TOKEN` on your [Prerender.io account](https://prerender.io/). + +You can verify your configuration work using [this guide](https://docs.prerender.io/docs/how-to-test-your-site-after-you-have-successfully-validated-your-prerender-integration). ## Apache Configuration with `CC_WEBROOT` If you set the `CC_WEBROOT = /` environment variable, make sure you put your `.htaccess` file at the root of your `/`. This is where Apache will look for directives when you deploy an application in a Static runtime.