diff --git a/.github/workflows/external-doc-update.yml b/.github/workflows/external-doc-update.yml index 68e351b7a..7fe7a04da 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 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 000000000..f2ad242d2 --- /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`. diff --git a/content/doc/addons/fs-bucket.md b/content/doc/addons/fs-bucket.md index eb414cb0b..54d9612c3 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 diff --git a/content/doc/administrate/network.md b/content/doc/administrate/network.md index 279778115..a4f7ac1f6 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 diff --git a/content/doc/applications/static/_index.md b/content/doc/applications/static/_index.md index 51f9c596e..186b2a064 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. diff --git a/content/doc/reference/reference-environment-variables.md b/content/doc/reference/reference-environment-variables.md index 90de8fbe2..01cbd4af5 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 7ae065838..09ec90b4e 100644 --- a/data/runtime_versions.yml +++ b/data/runtime_versions.yml @@ -38,19 +38,20 @@ 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://www.oracle.com/fr/java/technologies/java-se-support-roadmap.html" + eol_source: "https://adoptium.net/fr/support/" default: - "11" accepted: