Renamed wsgi module

This commit is contained in:
jar3b 2016-04-25 11:06:49 +03:00
parent fc3d2f5e64
commit 3e6ccc96a1
2 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,12 @@ _Внимание_! Только Python 3 (для 2.7 пока есть отде
5. Для проверки работы выполните `sudo -H -u fias python3 passenger_wsgi.py`, по адресу 5. Для проверки работы выполните `sudo -H -u fias python3 passenger_wsgi.py`, по адресу
`http://example.com:8087/find/москва` `http://example.com:8087/find/москва`
Вы должны увидеть результаты запроса. Вы должны увидеть результаты запроса.
### Установка Web-сервера (для Debian, на примере nginx + gunicorn, без virtualenv)
- Установим nginx и gunicorn:
```
sudo apt-get install nginx
sudo pip3 install gunicorn
```
## Api ## Api