Skip to content

Conversation

@B4nan
Copy link
Member

@B4nan B4nan commented Oct 14, 2025

No description provided.

@github-actions github-actions bot added this to the 125th sprint - Tooling team milestone Oct 14, 2025
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Oct 14, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on October 24

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment @cursor review or bugbot run to trigger another review on this PR

proxy_pass $docs_upstream;
proxy_hide_header Content-Type;
add_header Content-Type "text/markdown; charset=utf-8" always;
proxy_redirect https://apify.github.io/ https://apify.github.io/apify-docs/;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Markdown Path Handling and Proxy Redirect Issues

The location / block's new rewrite rule ^(/[^./]+)/*$ is too restrictive. Its [^./] character class excludes slashes, breaking markdown content-type handling for multi-level paths. Separately, proxy_redirect rules are configured backwards, rewriting https://apify.github.io/ to https://apify.github.io/apify-docs/ instead of the client-facing domain, incorrectly adding the /apify-docs/ path.

Fix in Cursor Fix in Web

proxy_pass $docs_upstream/llms-full.txt;
proxy_hide_header Content-Type;
add_header Content-Type "text/markdown; charset=utf-8" always;
proxy_redirect https://apify.github.io/ https://apify.github.io/apify-docs/;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Nginx Proxy Configuration Issues

The proxy_pass directive uses invalid syntax when $docs_upstream resolves to an upstream name, as Nginx doesn't allow paths appended directly. Separately, proxy_redirect in several location blocks redirects between GitHub URLs instead of rewriting upstream GitHub URLs to the public domain, potentially exposing internal URLs.

Fix in Cursor Fix in Web

@apify-service-account
Copy link

Preview for this PR was built for commit b7eebba and is ready at https://pr-2010.preview.docs.apify.com!

@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label Oct 14, 2025
@apify-service-account
Copy link

Preview for this PR was built for commit ab61103 and is ready at https://pr-2010.preview.docs.apify.com!

@B4nan B4nan requested a review from lukasmrtvy October 14, 2025 13:28
@B4nan B4nan merged commit 49e6c36 into master Oct 14, 2025
10 of 11 checks passed
@B4nan B4nan deleted the fix-accept-markdown-2 branch October 14, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants