gatsbyjs / gatsby-docker

Docker image that builds and hosts a Gatsby site
MIT License
356 stars 88 forks source link

Slashless? #1

Closed KyleAMathews closed 6 years ago

KyleAMathews commented 9 years ago

http://stackoverflow.com/questions/645853/add-slash-to-the-end-of-every-url-need-rewrite-rule-for-nginx

deniaz commented 6 years ago

This should now be configurable thanks to this MR: https://github.com/gatsbyjs/gatsby-docker/pull/7#issuecomment-329773891

mfeltscher commented 6 years ago

Yes, indeed, this is now configurable using the $TRAILING_SLASH environment variable.

cusspvz commented 6 years ago

This could be closed since it has already been deployed.