commit 324cbe19a42d2bd899523c39f6f0eab9a3da207e parent 2c6bcc53505da48aa625b30271c093384326314e Author: Sheng <webmaster0115@gmail.com> Date: Thu, 9 Nov 2017 11:51:15 +0800 Modified README.md Diffstat:
M | README.md | | | 13 | ++++++++++++- |
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -23,5 +23,16 @@ $ python main.py --help ### Python versions supported ? ``` -Only tested Python versions 2.7.12 and 3.5.2 on Ubuntu 16.04. +Only tested with Python versions 2.7.12 and 3.5.2 on Ubuntu 16.04. ``` + +### A config example for putting Nginx as a front web server +``` +location / { + proxy_pass http://127.0.0.1:8888; + proxy_http_version 1.1; + proxy_read_timeout 300; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; +}