redbrick / nix-configs

NixOS configs for Redbrick deployment
Apache License 2.0
15 stars 5 forks source link

Fix redirects from vhostRedirect losing a slash #60

Closed m1cr0man closed 4 years ago

m1cr0man commented 4 years ago

Redirects specified in vhosts.nix sending the likes of www... to their non-www equivalent would fail if the path contained a user directory since it would remove the leading slash. This adds trailing slashes to the vhostRedirects where necessary.