diff --git a/README.md b/README.md index 0799ce0..f211de6 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,17 @@ Setting up the server $ uwsgi -s /tmp/serverlist.sock --plugin python -w server:app --enable-threads $ # Then configure according to http://flask.pocoo.org/docs/deploying/uwsgi/ + 7. (optional) Configure the proxy server, if any. You should make the server + load static files directly from the static directory. Also, `/list` + should be served from `list.json`. Example for nginx: + + root /path/to/server/static; + rewrite ^/list$ /list.json; + try_files $uri @uwsgi; + location @uwsgi { + uwsgi_pass ...; + } + License -------