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

Allow not retaining the path, do not add trailing slashes and update nginx #12

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

leMaik
Copy link
Contributor

@leMaik leMaik commented Mar 14, 2024

  • Update nginx to 1.25 (latest version at the time of writing)
  • Do not append trailing slashes to the redirect target (fixes Remove trailing slash on the redirect target #10)
  • Add RETAIN_PATH env variable that can be set to false to not retain the path, ie. to redirect any path to the same target (defaults to true to keep the old behavior)

Unlike eg. #4, this PR should not break existing setups.

@leMaik leMaik changed the title Misc updates Allow not retaining the path, do not add trailing slashes and update nginx Mar 14, 2024
@MorbZ MorbZ merged commit 1bdc2db into MorbZ:master Mar 14, 2024
@leMaik leMaik deleted the misc-updates branch April 22, 2024 09:02
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.

Remove trailing slash on the redirect target
2 participants