Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,16 @@ server {
location /python {
proxy_pass https://apify.github.io/crawlee-python/;
}

# So that we can have both GH pages and crawlee.dev/python working and loading assets from the same path
location /crawlee-python {
proxy_pass https://apify.github.io/crawlee-python/;
}

# Redirect rule for old JS docs to go under /js prefix
rewrite ^/docs(.*)$ /js/docs$1 permanent;
rewrite ^/api(.*)$ /js/api$1 permanent;

# Redirect rule for "upgrading-to-v03" to "upgrading-to-v0x"
rewrite ^/python/docs/upgrading/upgrading-to-v03$ /python/docs/upgrading/upgrading-to-v0x permanent;

Expand Down