From 8b09b701ad54c058637b98708e3386803f04e4fd Mon Sep 17 00:00:00 2001 From: Ali Najmabadi Date: Mon, 2 Dec 2024 11:26:53 +0330 Subject: [PATCH] chore: add all redirects based on gsc --- liara_nginx.conf | 95 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/liara_nginx.conf b/liara_nginx.conf index 1f35d209..8f0272e9 100644 --- a/liara_nginx.conf +++ b/liara_nginx.conf @@ -1846,7 +1846,100 @@ location ~ ^/one-click-apps/parse/?$ { return 301 /one-click-apps/pocketbase/quick-start/; } -# page 40 - 400 +location ~ ^/paas/nodejs/related-apps/fix-common-errors/cors-error/nestjs/?$ { + return 301 /paas/nodejs/fix-common-errors/cors-error/nestjs/; +} + +location ~ ^/wp-plus/wp-rocket/?$ { + return 301 /one-click-apps/wordpress/quick-start/; +} + +location ~ ^/paas/django/how-tos/related-apps/celery/?$ { + return 301 /paas/django/related-apps/celery/; +} + +location ~ ^/one-click-apps/headless-chrome/how-tos/quick-start/?$ { + return 301 /one-click-apps/headless-chrome/quick-start/; +} + +location ~ ^/projects/environment-variables/?$ { + return 301 /paas/details/envs/; +} + +location ~ ^/one-click-apps/soketi/how-tos/quick-start/?$ { + return 301 /one-click-apps/soketi/quick-start/; +} + +location ~ ^/paas/django/related-apps/fastapi/?$ { + return 301 /paas/docker/related-apps/fastapi/; +} + +location ~ ^/paas/details/envs/about/?$ { + return 301 /paas/details/envs/; +} + +location ~ ^/one-click-apps/mattermost/how-tos/quick-start/?$ { + return 301 /one-click-apps/mattermost/quick-start/; +} + +location ~ ^/paas/django/related-apps/python/?$ { + return 301 /paas/python/getting-started/; +} + +location ~ ^/one-click-apps/imgproxy/how-tos/quick-start/?$ { + return 301 /one-click-apps/imgproxy/quick-start; +} + +location ~ ^/paas/details/env/?$ { + return 301 /paas/details/envs; +} + +location ~ ^/paas/disks/manage/route/?$ { + return 301 /paas/disks/route/; +} + +location ~ ^/paas/disks/manage/create/?$ { + return 301 /paas/disks/create/; +} + +location ~ ^/one-click-apps/wordpress/how-tos/quick-start/?$ { + return 301 /one-click-apps/wordpress/quick-start/; +} + +location ~ ^/paas/nodejs/related-apps/fix-common-errors/cors-error/fastify/?$ { + return 301 /paas/nodejs/fix-common-errors/cors-error/fastify/; +} + +location ~ ^/paas/laravel/fix-common-errors/upload-size-limit/?$ { + return 301 /paas/laravel/fix-common-errors/upload-limit-size/; +} + +location ~ ^/app-deploy/laravel/deploy/?$ { + return 301 /paas/laravel/how-tos/deploy-app/; +} + +location ~ ^/disks/file-browser/?$ { + return 301 /paas/disks/ftp-access/; +} + +location ~ ^/storage/laravel/?$ { + return 301 /object-storage/how-tos/connect-via-platform/laravel/; +} + +location ~ ^/disks/about/?$ { + return 301 /paas/disks/about/; +} + +location ~ ^/client-api/database/?$ { + return 301 /references/api/about/; +} + +location ~ ^/client-api/database/?$ { + return 301 /references/api/about/; +} + + + # Domain location ~ ^/domains/management(?:/.*)?$ {