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

Documentation: describe how to setup servers #117

Open
stereobooster opened this issue Jan 14, 2018 · 3 comments
Open

Documentation: describe how to setup servers #117

stereobooster opened this issue Jan 14, 2018 · 3 comments

Comments

@stereobooster
Copy link
Owner

stereobooster commented Jan 14, 2018

Three possible situations:

  • there is only one page - redirect all requests to index.html
  • all pages are prerendered by react-snap - do not redirect and do not use index.html as fallback, use 404.html as 404 page
  • some pages are prerendered and some not. Use 200.html as fallback, instead of index.html

References:

@adeelibr
Copy link

following.

@vemundeldegard
Copy link

Need this! Having trouble deploying to both Zeit Now and Surge..

@stereobooster
Copy link
Owner Author

when I said server I meant S3, nginx and other things which are not services. Surge works out of the box, Zeit may have problems with source map files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
roadmap
Improve documentation
Development

No branches or pull requests

3 participants