nginx / unit-docs

NGINX Unit's official website and documentation
https://unit.nginx.org
Creative Commons Attribution 4.0 International
49 stars 97 forks source link

Update netlify.toml redirects #93

Closed danielledeleo closed 3 months ago

danielledeleo commented 3 months ago

The links on https://nginx-unit.netlify.app/download are relative and do not correctly correspond to the correct path. Instead of mangling the index to update the links to keep it on unit.nginx.org, we can just redirect the index separately from direct requests for the tarballs. The glob redirect still works for those links.

Screenshot 2024-02-01 at 11 55 21 AM

These relative links are missing /download in the path, because of the move to sources.nginx.org.

netlify[bot] commented 3 months ago

Deploy Preview for nginx-unit ready!

Name Link
Latest commit 8b00410000344ffb7442878ade425ef7e9bbc9b5
Latest deploy log https://app.netlify.com/sites/nginx-unit/deploys/65bbeb1cf43c240007118e30
Deploy Preview https://deploy-preview-93--nginx-unit.netlify.app
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.

ac000 commented 3 months ago

This is probably the wrong place to ask, but is sources.nginx.org now officially the place to go?, if so should https://deploy-preview-93--nginx-unit.netlify.app/installation/#get-source-tarball be updated?

danielledeleo commented 3 months ago

This is probably the wrong place to ask, but is sources.nginx.org now officially the place to go?, if so should https://deploy-preview-93--nginx-unit.netlify.app/installation/#get-source-tarball be updated?

Good catch, thank you. I'll get that changed.