Skip to content

Commit

Permalink
Merge branch 'main' into diagnostic-network-issue-command-curl
Browse files Browse the repository at this point in the history
  • Loading branch information
PLhuillery authored Jan 28, 2025
2 parents 1149779 + c88aa1b commit 8edf9c7
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/external-doc-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
with:
files: |
content/guides/astro.md
context/guides/nuxt.md
# Create issue and assign PR author
- name: Create issue
Expand Down
15 changes: 15 additions & 0 deletions content/changelog/2025/01-22-elixir-1.18-image-update.md
Original file line number Diff line number Diff line change
@@ -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`.
29 changes: 29 additions & 0 deletions content/doc/addons/fs-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/doc/administrate/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions content/doc/applications/static/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<IfModule mod_headers.c>
RequestHeader set X-Prerender-Token "<PRERENDER_TOKEN>"
RequestHeader set X-Prerender-Version "[email protected]"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<IfModule mod_proxy_http.c>
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]
</IfModule>
</IfModule>
```
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 = /<web-folder>` environment variable, make sure you put your `.htaccess` file at the root of your `/<web-folder>`. This is where Apache will look for directives when you deploy an application in a Static runtime.
Expand Down
2 changes: 1 addition & 1 deletion content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
7 changes: 4 additions & 3 deletions data/runtime_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8edf9c7

Please sign in to comment.