Skip to content

Conversation

lukasmrtvy
Copy link
Member

No description provided.

@github-actions github-actions bot added the t-infra Issues with this label are in the ownership of the infrastructure team. label Sep 18, 2025
@apify-service-account
Copy link

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

@lukasmrtvy lukasmrtvy changed the title fix: nginx configuration fix: nginx configuration; add nginx linter Sep 18, 2025
@lukasmrtvy lukasmrtvy requested a review from B4nan September 18, 2025 12:21
@apify-service-account
Copy link

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

@B4nan
Copy link
Member

B4nan commented Sep 18, 2025

Can I get some context for this? I guess we are now validating the changes to the nginx config as part of PR checks, instead of only finding out about it in the private repository? The PR check fails now.

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 PR is being reviewed by Cursor Bugbot

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

- name: Test Nginx configuration
run: |
echo "http { include 'nginx.conf'; }" > default.conf
nginx -t -c $(pwd)/default.conf
Copy link

Choose a reason for hiding this comment

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

Bug: Invalid Nginx Image Version & Incorrect Config Path

The Nginx configuration test workflow encounters two problems. The nginx:1.29.1-alpine-slim Docker image version is invalid; Nginx stable versions are typically in the 1.2x.x range, preventing the image from being pulled. Also, the include 'nginx.conf' directive uses a relative path, which Nginx resolves from its default configuration directory, not the current working directory, so it won't find the nginx.conf file.

Fix in Cursor Fix in Web

@apify-service-account
Copy link

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

@apify-service-account
Copy link

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

@apify-service-account
Copy link

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

@lukasmrtvy
Copy link
Member Author

Fixed.

The last deployment ( https://github.com/apify/apify-docs-private/actions/runs/17827556817/job/50684203179 ) failed because of the wrong configuration introduced in #1933, thus the validation workflow :)

@lukasmrtvy lukasmrtvy added the adhoc Ad-hoc unplanned task added during the sprint. label Sep 18, 2025
@lukasmrtvy lukasmrtvy merged commit 42affbc into master Sep 18, 2025
9 of 10 checks passed
@lukasmrtvy lukasmrtvy deleted the fix/nginxconfig branch September 18, 2025 16:47
@seyhello seyhello added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Sep 22, 2025
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-infra Issues with this label are in the ownership of the infrastructure team. validated Issues that are resolved and their solutions fulfill the acceptance criteria.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants