diff --git a/liara_nginx.conf b/liara_nginx.conf index b64474aa..42e6d946 100644 --- a/liara_nginx.conf +++ b/liara_nginx.conf @@ -13,17 +13,6 @@ location = /404.html { } - -location / { - - if ($request_uri !~ /$) { - return 301 $request_uri/; - } - -} - - - # location / { # rewrite ^/(.*)/$ /$1 permanent; # } @@ -1629,8 +1618,17 @@ location ~ ^/.*?/applets/?$ { return 301 /paas/details/events/; } +location ~ ^/.*?/applets/?$ { + return 301 /paas/details/events/; +} +location ~ ^/app-deploy/netcore/desktop/?$ { + return 301 /paas/dotnet/how-tos/deploy-app/; +} +location ~ ^/app-deploy/flask/deploy/?$ { + return 301 /paas/flask/how-tos/deploy-app/; +}