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 6948cba commit 84e02e4Copy full SHA for 84e02e4
nginx.conf
@@ -441,3 +441,15 @@ server {
441
# Redirect rule so that /python/docs actually leads somewhere
442
rewrite ^/python/docs/?$ /python/docs/quick-start;
443
}
444
+
445
+server {
446
+ listen 80;
447
448
+ server_name pull-*.preview.docs.apify.com;
449
450
+ location / {
451
+ rewrite ^/(.*)/$ https://s3.amazonaws.com/apify-docs-preview/pull-$host/$1/index.html permanent;
452
+ rewrite ^/(.*[^./])$ https://s3.amazonaws.com/apify-docs-preview/pull-$host/$1.html permanent;
453
+ rewrite ^/(.*)$ https://s3.amazonaws.com/apify-docs-preview/pull-$host/$1 permanent;
454
+ }
455
+}
0 commit comments