diff --git a/default.conf b/default.conf index 36251cbc..aa016cd6 100644 --- a/default.conf +++ b/default.conf @@ -475,9 +475,6 @@ server { location ~ ^/docs/streaming-platform/api/real-time-video-api-tutorial/?$ { return 301 https://$host/docs/streaming-platform/ ; } location ~ ^/docs/streaming-platform/extra-features/add-monetization-to-your-live-streams-and-videos/?$ { return 301 https://$host/docs/streaming-platform/ ; } - location ~ ^/(.*)/$ { return 301 https://$host/$1; } - - #### 723 location ~ ^/docs/streaming-platform/ai-video-service/content-moderation/ai-nudity-detection/?$ { return 301 https://$host/docs/streaming-platform/ai-video-service/content-moderation/hard-nudity-detection/ ; } @@ -555,4 +552,6 @@ server { location ~ ^/docs/cloud/ai-Infrustructure/about-our-ai-infrastructure?$ { return 301 https://$host/docs/edge-ai/ai-infrastructure/about-our-ai-infrastructure ; } location ~ ^/docs/cloud/ai-Infrustructure/create-an-ai-cluster?$ { return 301 https://$host/docs/edge-ai/ai-infrastructure/create-an-ai-cluster ; } location ~ ^/docs/cloud/ai-Infrustructure/about-virtual-vpod?$ { return 301 https://$host/docs/edge-ai/ai-infrastructure/about-our-ai-infrastructure ; } + + location ~ ^/(.*)/$ { return 301 https://$host/$1; } }