Skip to content

Commit

Permalink
chore: add all redirects based on gsc
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Dec 2, 2024
1 parent 78d8c7e commit 8b09b70
Showing 1 changed file with 94 additions and 1 deletion.
95 changes: 94 additions & 1 deletion liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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(?:/.*)?$ {
Expand Down

0 comments on commit 8b09b70

Please sign in to comment.