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

Server configs #17

Closed
mxstbr opened this issue Dec 17, 2015 · 3 comments
Closed

Server configs #17

mxstbr opened this issue Dec 17, 2015 · 3 comments

Comments

@mxstbr
Copy link
Member

mxstbr commented Dec 17, 2015

Lets take some inspiration from html5boilerplate and add more and better server configuration: https://github.com/h5bp/server-configs

@mxstbr mxstbr changed the title Add more server configs Server configs Dec 17, 2015
@mxstbr
Copy link
Member Author

mxstbr commented Dec 31, 2015

The two main things the server configs need to do:

  • Redirect HTTP to HTTPS so the ServiceWorker works
  • Rewrite all requests to subpages (e.g. yourdomain.com/about) to the root index.html so react-router takes care of the routes

I've added a .htaccess for Apache servers (that's what I use), but I don't have any experience with other web servers and their configuration. I'd love any help!

@mxstbr mxstbr added this to the Future milestone Jan 16, 2016
@mxstbr
Copy link
Member Author

mxstbr commented Mar 12, 2016

Closing in favor of more split up issues.

@mxstbr mxstbr closed this as completed Mar 12, 2016
@lock
Copy link

lock bot commented May 30, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant