Skip to content

doc: add Azion to deployments documentation #4710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/en/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ The following guides are based on some shared assumptions:
1. Run this command to build the docs:

```sh
$ npm run docs:build
npm run docs:build
```

2. Once built, preview it locally by running:

```sh
$ npm run docs:preview
npm run docs:preview
```

The `preview` command will boot up a local static web server that will serve the output directory `.vitepress/dist` at `http://localhost:4173`. You can use this to make sure everything looks good before pushing to production.
Expand Down Expand Up @@ -294,6 +294,12 @@ You can deploy your VitePress website on [Kinsta](https://kinsta.com/static-site

You can deploy your VitePress project to [Stormkit](https://www.stormkit.io) by following these [instructions](https://stormkit.io/blog/how-to-deploy-vitepress).

### Azion

[Azion](https://www.azion.com/en/) is a web platform that allows you to deploy your VitePress site globally. It provides an efficient way to host your website with low latency and high availability.

You can follow [this guide](https://www.azion.com/en/documentation/products/guides/vitepress-typescript-boilerplate/) to set it up.

### Nginx

Here is a example of an Nginx server block configuration. This setup includes gzip compression for common text-based assets, rules for serving your VitePress site's static files with proper caching headers as well as handling `cleanUrls: true`.
Expand Down