Skip to content

chore: configuration for docs-preview #1518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

seyhello
Copy link
Contributor

@seyhello seyhello commented Apr 1, 2025

  • nginx configuration for apify-docs-preview - everything pointed to *.preview.docs.apify.com domain will be redirected to the apify-docs-preview S3 bucket directly. It will be used for "staging/preview" documentation

@seyhello seyhello added adhoc Ad-hoc unplanned task added during the sprint. infrastructure Issues related to infrastructure or CI/CD pipeline. labels Apr 1, 2025
@seyhello seyhello self-assigned this Apr 1, 2025
@github-actions github-actions bot added this to the 111th sprint - Platform team milestone Apr 1, 2025
@github-actions github-actions bot added the t-platform Issues with this label are in the ownership of the platform team. label Apr 1, 2025
@seyhello seyhello requested review from fnesveda and vladfrangu April 3, 2025 10:23
@fnesveda
Copy link
Member

fnesveda commented Apr 6, 2025

@seyhello I have zero context for this, could you give me some?

server_name ~^(?<subdomain>[^.]+)\.preview\.docs\.apify\.com$;

location / {
rewrite ^/(.*)/$ https://s3.amazonaws.com/apify-docs-preview/$subdomain/$1/index.html permanent;
Copy link
Member

Choose a reason for hiding this comment

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

As discussed in person - let's try to use proxy_pass here so that it doesn't require enabling public read on the bucket.

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. infrastructure Issues related to infrastructure or CI/CD pipeline. t-platform Issues with this label are in the ownership of the platform team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants