We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fdd0da commit ebe788aCopy full SHA for ebe788a
README.md
@@ -85,6 +85,17 @@ Setting up the server
85
$ uwsgi -s /tmp/serverlist.sock --plugin python -w server:app --enable-threads
86
$ # Then configure according to http://flask.pocoo.org/docs/deploying/uwsgi/
87
88
+ 7. (optional) Configure the proxy server, if any. You should make the server
89
+ load static files directly from the static directory. Also, `/list`
90
+ should be served from `list.json`. Example for nginx:
91
+
92
+ root /path/to/server/static;
93
+ rewrite ^/list$ /list.json;
94
+ try_files $uri @uwsgi;
95
+ location @uwsgi {
96
+ uwsgi_pass ...;
97
+ }
98
99
License
100
-------
101
0 commit comments