Skip to content

Commit

Permalink
chore: add some redirects based on gsc
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Nov 27, 2024
1 parent ba2f303 commit c6a44c0
Showing 1 changed file with 112 additions and 2 deletions.
114 changes: 112 additions & 2 deletions liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1726,13 +1726,123 @@ location ~ ^/app-deploy/docker/desktop/?$ {
return 301 /paas/docker/how-tos/deploy-app/;
}

location ~ ^/one-click-apps/gitea/how-tos/quick-start?$ {
location ~ ^/one-click-apps/gitea/how-tos/quick-start/?$ {
return 301 /one-click-apps/gitea/quick-start/;
}

# 301 - page 30
location ~ ^/deployments/wordpress/?$ {
return 301 /one-click-apps/wordpress/quick-start/;
}

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

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

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

location ~ ^/instructions/asgi/?$ {
return 301 /paas/django/how-tos/use-asgi/;
}

location ~ ^/one-click-apps/wordpress/migrate-from-cpanel/?$ {
return 301 /one-click-apps/wordpress/how-tos/migrate-from-cpanel/;
}

location ~ ^/app-deploy/netcore/entity-framework/?$ {
return 301 /paas/dotnet/how-tos/connect-to-db/about/;
}

location ~ ^/deployments/django/?$ {
return 301 /paas/django/how-tos/deploy-app/;
}

location ~ ^/projects/ignore/?$ {
return 301 /paas/details/ignoring-files/;
}

location ~ ^/projects/zero-downtime-deployment/?$ {
return 301 /paas/details/zero-downtime-deployment/;
}

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

location ~ ^/app-features/email/?$ {
return 301 /email-server/about/;
}

location ~ ^/app-deploy/laravel/cloud-storage/?$ {
return 301 /object-storage/how-tos/connect-via-platform/laravel/;
}

location ~ ^/databases/tunnel/?$ {
return 301 /dbaas/details/connection-links/;
}

location ~ ^/paas/php/how-tos/use-hooks/set-cron-job/?$ {
return 301 /paas/php/how-tos/set-cron-job/;
}

location ~ ^/one-click-apps/meilisearch/how-tos/quick-start/?$ {
return 301 /one-click-apps/meilisearch/quick-start/;
}

location ~ ^/app-deploy/golang/desktop/?$ {
return 301 /paas/docker/related-apps/go/;
}

location ~ ^/one-click-apps/metabase/how-tos/quick-start/?$ {
return 301 /one-click-apps/metabase/quick-start/;
}

location ~ ^/one-click-apps/pocketbase/how-tos/quick-start/?$ {
return 301 /one-click-apps/pocketbase/quick-start/;
}

location ~ ^/one-click-apps/chroma/how-tos/quick-start/?$ {
return 301 /one-click-apps/chroma/quick-start/;
}

location ~ ^/one-click-apps/kibana/how-tos/quick-start/?$ {
return 301 /one-click-apps/kibana/quick-start/;
}

location ~ ^/one-click-apps/rabbitmq/how-tos/quick-start/?$ {
return 301 /dbaas/rabbitmq/quick-setup/;
}

location ~ ^/one-click-apps/n8n/how-tos/quick-start/?$ {
return 301 /one-click-apps/n8n/quick-start/;
}

location ~ ^/one-click-apps/ackee/how-tos/quick-start/?$ {
return 301 /one-click-apps/ackee/quick-start/;
}

location ~ ^/one-click-apps/rocketchat/how-tos/quick-start/?$ {
return 301 /one-click-apps/rocketchat/quick-start/;
}

location ~ ^/one-click-apps/matomo/how-tos/quick-start/?$ {
return 301 /one-click-apps/matomo/quick-start/;
}

location ~ ^/paas/nodejs/related-apps/strapi/how-tos/create-app/?$ {
return 301 /paas/nodejs/related-apps/strapi/starter/;
}

location ~ ^/paas/nodejs/related-apps/fix-common-errors/cors-error/nuxtjs/?$ {
return 301 /paas/nodejs/fix-common-errors/cors-error/nuxtjs/;
}

# page 40 - 400

# Domain
location ~ ^/domains/management(?:/.*)?$ {
Expand Down

0 comments on commit c6a44c0

Please sign in to comment.