From 570e237213a058f19e74e6488f988c009387917c Mon Sep 17 00:00:00 2001 From: Ali Najmabadi Date: Mon, 25 Nov 2024 12:48:16 +0330 Subject: [PATCH] chore: add redirects based on gsc --- liara_nginx.conf | 163 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 161 insertions(+), 2 deletions(-) diff --git a/liara_nginx.conf b/liara_nginx.conf index 971e9a39..c71cc3f0 100644 --- a/liara_nginx.conf +++ b/liara_nginx.conf @@ -683,7 +683,7 @@ location ~ ^/one-click-apps/varnish/?$ { } location ~ ^/one-click-apps/rabbitmq/?$ { - return 301 /one-click-apps/rabbitmq/quick-start; + return 301 /dbaas/rabbitmq/quick-setup/; } location ~ ^/one-click-apps/apacheanswer/?$ { @@ -1441,7 +1441,166 @@ location ~ ^/deployments/flask/?$ { return 301 /paas/flask/getting-started; } -# page - 10, number 100 +location ~ ^/apps/console/?$ { + return 301 /references/console/about; +} + +location ~ ^/app-deploy/netcore/email?$ { + return 301 /email-server/how-tos/connect-via-platform/dotnet; +} + +location ~ ^/app-deploy/netcore/disks/?$ { + return 301 /paas/dotnet/how-tos/use-disk; +} + +location ~ ^/one-click-apps/([^/]+)/how-tos/quick-start$ { + return 301 /one-click-apps/$1/quick-start; +} + +location ~ ^/instructions/nextjs?$ { + return 301 /paas/nextjs/getting-started; +} + +location ~ ^/instructions/nextjs?$ { + return 301 /paas/nextjs/getting-started; +} + +location ~ ^/instructions/golang/?$ { + return 301 /paas/docker/related-apps/go; +} + +location ~ ^/apps/logs?$ { + return 301 /paas/details/observations/about; +} + +location ~ ^/app-deploy/php/cloud-storage?$ { + return 301 /object-storage/how-tos/connect-via-platform/dotnet; +} + +location ~ ^/app-deploy/netcore/dbs/?$ { + return 301 /paas/dotnet/how-tos/connect-to-db/about; +} + +location ~ ^/app-deploy/angular/desktop/?$ { + return 301 /paas/angular/how-tos/deploy-app; +} + +location ~ ^/app-deploy/netcore/browser/?$ { + return 301 /paas/dotnet/how-tos/deploy-app; +} + +location ~ ^/databases/mysql-mariadb/install?$ { + return 301 /dbaas/mysql/quick-setup; +} + +location ~ ^/app-deploy/flask/desktop?$ { + return 301 /paas/flask/how-tos/deploy-app; +} + +location ~ ^/clients/cli?$ { + return 301 /references/cli/about; +} + +location ~ ^/app-deploy/django/desktop?$ { + return 301 /paas/django/how-tos/deploy-app; +} + +location ~ ^/instructions/prestashop?$ { + return 301 /one-click-apps/prestashop/quick-start/; +} + +location ~ ^/deployments/laravel?$ { + return 301 /paas/laravel/how-tos/deploy-app/; +} + +location ~ ^/apps/environment-variables?$ { + return 301 /paas/details/envs/; +} + +location ~ ^/databases/mysql-mariadb/backup?$ { + return 301 /dbaas/mariadb/how-tos/create-backup; +} + +location ~ ^/apps/fixed-ip?$ { + return 301 /paas/details/static-ip/; +} + +location ~ ^/deployments/static?$ { + return 301 /paas/static/how-tos/deploy-app/; +} + +location ~ ^/buckets/domain?$ { + return 301 /object-storage/add-domain/; +} + +location ~ ^/wp-plus/domain?$ { + return 301 /paas/domains/add-domain/; +} + +location ~ ^/wp-plus/domain?$ { + return 301 /paas/domains/add-domain/; +} + +location ~ ^/deployments/docker?$ { + return 301 /paas/docker/how-tos/deploy-app/; +} + +location ~ ^/app-deploy/vue/desktop?$ { + return 301 /paas/vue/how-tos/deploy-app/; +} + +location ~ ^/apps/disks?$ { + return 301 /paas/disks/about/; +} + +location ~ ^/instructions/rabbitmq?$ { + return 301 /dbaas/rabbitmq/quick-setup; +} + +location ~ ^/apps/health-check?$ { + return 301 /paas/details/health-check/; +} + +location ~ ^/apps/health-check?$ { + return 301 /paas/details/health-check/; +} + +location ~ ^/deployments/nodejs?$ { + return 301 /paas/nodejs/how-tos/deploy-app/; +} + +location ~ ^/one-click-apps/wordpress?$ { + return 301 /one-click-apps/wordpress/quick-start/; +} + +location ~ ^/app-deploy/php/desktop?$ { + return 301 /paas/php/how-tos/deploy-app/; +} + +location ~ ^/domains/ssl?$ { + return 301 /paas/domains/enable-ssl/; +} + +location ~ ^/app-deploy/laravel/desktop?$ { + return 301 /paas/laravel/how-tos/deploy-app/; +} + +location ~ ^/apps/ftp?$ { + return 301 /paas/disks/ftp-access/; +} + +location ~ ^/buckets/transfer?$ { + return 301 /object-storage/how-tos/move-bucket/; +} + +location ~ ^/app-deploy/netcore/cli?$ { + return 301 /paas/dotnet/how-tos/deploy-app/; +} + +# 200 - page 20 + + +