Skip to content

Commit

Permalink
chore: fix some redirects gsc
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Najmabadi committed Nov 23, 2024
1 parent a792702 commit 160d760
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions liara_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,98 @@ location ~ ^/one-click-apps/wordpress/how-tos/enable-wprocket-extension/?$ {
return 301 /one-click-apps/wordpress/quick-start;
}

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

location ~ ^/one-click-apps/rabbitmq/how-tos/choose-version/?$ {
return 301 /dbaas/rabbitmq/choose-version;
}

location ~ ^/cli/app/?$ {
return 301 /references/cli/about;
}

location ~ ^/databases/postgresql/install/?$ {
return 301 /dbaas/postgresql/quick-setup;
}

location ~ ^/wp-plus/object-storage/?$ {
return 301 /object-storage/how-tos/connect-via-platform/wordpress;
}

location ~ ^/storage/nodejs/?$ {
return 301 /object-storage/how-tos/connect-via-platform/nodejs;
}

location ~ ^/storage/nodejs/?$ {
return 301 /object-storage/how-tos/connect-via-platform/nodejs;
}

location ~ ^/storage/object-storage/about/?$ {
return 301 /object-storage/about;
}

location ~ ^/client-api/domain/?$ {
return 301 /references/api/about;
}

location ~ ^/app-deploy/static/desktop/?$ {
return 301 /paas/static/quick-start;
}

location ~ ^/app-deploy/nextjs/desktop/?$ {
return 301 /paas/nextjs/quick-start;
}

location ~ ^/app-deploy/netcore/tips/?$ {
return 301 /paas/dotnet/how-tos/deploy-app;
}

location ~ ^/deployments/vue/?$ {
return 301 /paas/vue/getting-started;
}

location ~ ^/app-deploy/[^/]+/domain/?$ {
return 301 /paas/domains/add-domain;
}

location ~ ^/databases/postgresql/connections/?$ {
return 301 /dbaas/postgresql/how-tos/connect-via-platform/about;
}

location ~ ^/databases/postgresql/connections/?$ {
return 301 /dbaas/postgresql/how-tos/connect-via-platform/about;
}

location ~ ^/storage/object-storage/management/?$ {
return 301 /object-storage/how-tos/upload-file;
}

location ~ ^/desktop/install/?$ {
return 301 /references/console/about;
}

location ~ ^/storage/object-storage/connections/?$ {
return 301 /object-storage/how-tos/connect-via-platform/about;
}

location ~ ^/instructions/streamlit/?$ {
return 301 /paas/docker/related-apps/streamlit;
}

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

location ~ ^/storage/object-storage/cli/?$ {
return 301 /object-storage/how-tos/move-bucket;
}






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

0 comments on commit 160d760

Please sign in to comment.