Skip to content

Commit

Permalink
add github videos & some redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Oct 16, 2024
1 parent 61da416 commit 20c0a2e
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
48 changes: 48 additions & 0 deletions liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,49 @@ location ~ ^/wp-plus/duplicator/?$ {
}

# Other one-click-apps

# liara.ir/one-click-apps landing pages redirects
location ~ ^/one-click-apps/apache%20answer/quick-start/?$ {
return 301 /one-click-apps/apache-answer/quick-start;
}

location ~ ^/one-click-apps/code%20server/quick-start/?$ {
return 301 /one-click-apps/vscode/quick-start;
}

location ~ ^/one-click-apps/chrome/quick-start/?$ {
return 301 /one-click-apps/headless-chrome/quick-start;
}

location ~ ^/one-click-apps/rocket.chat/quick-start/?$ {
return 301 /one-click-apps/rocketchat/quick-start;
}

location ~ ^/one-click-apps/uptime%20kuma/quick-start/?$ {
return 301 /one-click-apps/uptime-kuma/quick-start;
}

location ~ ^/one-click-apps/varnish%20cache/quick-start/?$ {
return 301 /one-click-apps/varnish/quick-start;
}

location ~ ^/one-click-apps/varnish%20cache/quick-start/?$ {
return 301 /one-click-apps/varnish/quick-start;
}

location ~ ^/one-click-apps/jupyter%20notebook/quick-start/?$ {
return 301 /one-click-apps/jupyter-notebook/quick-start;
}

location ~ ^/one-click-apps/jupyter%20notebook/quick-start/?$ {
return 301 /one-click-apps/jupyter-notebook/quick-start;
}






location ~ ^/one-click-apps/imgproxy/?$ {
return 301 /one-click-apps/imgproxy/quick-start;
}
Expand Down Expand Up @@ -783,6 +826,11 @@ location ~ ^/databases/mysql/connections/?$ {
return 301 /dbaas/mysql/how-tos/connect-via-gui/about;
}


location ~ ^/databases/mysql-mariadb/tips(?:/.*)?$ {
return 301 /dbaas/mysql/quick-setup;
}

location ~ ^/databases/mysql/backup/?$ {
return 301 /dbaas/mysql/how-tos/create-backup;
}
Expand Down
7 changes: 7 additions & 0 deletions src/pages/paas/django/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ import Head from "next/head";
]}/>
</>,
<>
<video
src="https://files.liara.ir/liara/docs/django-github.mp4"
controls="controls"
className="block w-full"
width="100%"
></video>
<br />
برای استقرار با Github، کافیست تا مراحل زیر را طی کنید:
<Step steps={[
{
Expand Down
7 changes: 7 additions & 0 deletions src/pages/paas/flask/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ import Head from "next/head";
]}/>
</>,
<>
<video
src="https://files.liara.ir/liara/docs/flask-github.mp4"
controls="controls"
className="block w-full"
width="100%"
></video>
<br />
برای استقرار با Github، کافیست تا مراحل زیر را طی کنید:
<Step steps={[
{
Expand Down
7 changes: 7 additions & 0 deletions src/pages/paas/react/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,13 @@ import Head from "next/head";
</>,

<>
<video
src="https://files.liara.ir/liara/docs/react-github.mp4"
controls="controls"
className="block w-full"
width="100%"
></video>
<br />
برای استقرار با Github، کافیست تا مراحل زیر را طی کنید:
<Step steps={[
{
Expand Down

0 comments on commit 20c0a2e

Please sign in to comment.