Skip to content

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