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

fix(nginx4spa): handle next.js static urls #474

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

revolunet
Copy link
Member

When an url, ex : /pros is not found :

  • try /pros/
  • try /pros.html <-- next.js
  • try /pros/index.html
  • fallback to /index.html for SPAs

@douglasduteil douglasduteil changed the title fix: handle next.js static urls fix(nginx4spa): handle next.js static urls Oct 7, 2020
@douglasduteil douglasduteil merged commit c9df933 into master Oct 7, 2020
@douglasduteil douglasduteil deleted the revolunet-patch-2 branch October 7, 2020 16:28
SocialGroovyBot added a commit that referenced this pull request Oct 7, 2020
# [1.59.0](v1.58.0...v1.59.0) (2020-10-07)

### Bug Fixes

* **deps:** update socialgouv/docker self dependencies docker tags to v1.58.0 ([#469](#469)) ([e5a0400](e5a0400))
* **nginx4spa:** handle next.js static urls ([#474](#474)) ([c9df933](c9df933))

### Features

* **deps:** update postgres docker tag to v13 ([#463](#463)) ([bc94b05](bc94b05))

### Reverts

* Revert "feat(deps): update postgres docker tag to v13" (#475) ([cd5e2f8](cd5e2f8)), closes [#475](#475)
@SocialGroovyBot
Copy link
Member

🎉 This PR is included in version 1.59.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants