We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e783c6f commit 52fa10aCopy full SHA for 52fa10a
nginx.conf
@@ -437,6 +437,10 @@ server {
437
rewrite ^/docs(.*)$ /js/docs$1 permanent;
438
rewrite ^/api(.*)$ /js/api$1 permanent;
439
440
+ # Remove version numbers from /js/api/3.[0-9]/* and /js/docs/3.[0-9]/*
441
+ rewrite ^/js/api/3\.\d(/.*)?$ /js/api$1 permanent;
442
+ rewrite ^/js/docs/3\.\d(/.*)?$ /js/docs$1 permanent;
443
+
444
# Redirect rule for "upgrading-to-v03" to "upgrading-to-v0x"
445
rewrite ^/python/docs/upgrading/upgrading-to-v03$ /python/docs/upgrading/upgrading-to-v0x permanent;
446
@@ -487,4 +491,4 @@ server {
487
491
location / {
488
492
proxy_pass https://s3.amazonaws.com/apify-docs-preview/$subdomain$uri;
489
493
}
490
-}
494
+}
0 commit comments