From dfc7c8b1639710a6a03712c65c7ef14dd2a4237b Mon Sep 17 00:00:00 2001 From: Nuntius Date: Thu, 28 Jun 2018 15:05:45 +0200 Subject: [PATCH] Mention setting up CORS in Readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 525d220..8b0a26e 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ And you are done! You can now either run the debug server just to see everything Using the debug server in production is not recommended, so you should configure your webserver to serve etesync (with TLS). An example on how to do so with nginx can be found [here](http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html). +If you plan to use the webclient, you also want to enable CORS in your nginx config. You can find a "wide +open CORS config" example [here](https://enable-cors.org/server_nginx.html) to be adjusted to your needs. # Usage