Skip to content
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

Add netlify.toml file for redirects #90

Merged
merged 1 commit into from Feb 1, 2024

Conversation

danielledeleo
Copy link
Contributor

@danielledeleo danielledeleo commented Jan 22, 2024

This draft PR adds a netlify.toml file for redirects. In its current state, it redirects downloads from https://unit.nginx.org/download/ to https://sources.nginx.org/unit/ which does not yet exist.

Blocked by: #75 https://sources.nginx.org/unit/ is now live.

Copy link

netlify bot commented Jan 22, 2024

Deploy Preview for nginx-unit ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/nginx-unit/deploys/65b2cd56c2b70f37f314ad4b
😎 Deploy Preview https://deploy-preview-90--nginx-unit.netlify.app/howto/falcon
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@danielledeleo danielledeleo changed the title Add redirect generation script Add _redirects file Jan 24, 2024
This commit adds support for Netlify to proxy requests to the old
downloads hosted on nginx.org.
@danielledeleo danielledeleo changed the title Add _redirects file Add netlify.toml file for redirects Jan 25, 2024
@danielledeleo danielledeleo marked this pull request as ready for review January 29, 2024 15:12
Copy link
Collaborator

@callahad callahad left a comment

Choose a reason for hiding this comment

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

Appears to work correctly to me

@danielledeleo danielledeleo merged commit 27e353b into nginx:master Feb 1, 2024
4 checks passed
@danielledeleo danielledeleo deleted the redirects branch February 12, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants