Skip to content

Commit

Permalink
chore: add redirects based on gsc
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Nov 25, 2024
1 parent a9defae commit 570e237
Showing 1 changed file with 161 additions and 2 deletions.
163 changes: 161 additions & 2 deletions liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/?$ {
Expand Down Expand Up @@ -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






Expand Down

0 comments on commit 570e237

Please sign in to comment.