I can not configure the python module through the official Nginx Unit documentation?
Valentin V. Bartenev
vbart at nginx.com
Tue Mar 13 16:38:54 UTC 2018
On Tuesday 13 March 2018 12:28:00 avpdnepr wrote:
> {
> "listeners": {
> "*:8300": {
> "application": "blogs"
> },
> "*:8301": {
> "application": "cart"
> }
> },
>
> "applications": {
> "blogs": {
> "type": "php",
> "processes": 20,
> "user": "www-php",
> "group": "www-php",
> "root": "/var/www",
> "index": "index.php"
> },
> "cart": {
> "type": "python",
> "processes": 10,
> "user": "root",
> "group": "root",
> "path": "/var/www/app"
> }
> }
> }
>
Could you provide ls -l /var/www/app ?
Also in you Unit log the application was "example_python"
but in your configuration the only Python application is
called "cart".
wbr, Valentin V. Bartenev
More information about the nginx
mailing list