diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2022-11-04 13:55:16 +0400 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2022-11-04 13:55:16 +0400 |
commit | 11f416878a9f5f7ec13d548b85982c5de5b55a11 (patch) | |
tree | 3b7e0e5b2f1cc64c078a3cf3b1d7ac5ef2cf25a2 /pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config | |
parent | ebf02266a2cd663ad4744d3b8c07e211b8f38da1 (diff) | |
download | unit-11f416878a9f5f7ec13d548b85982c5de5b55a11.tar.gz unit-11f416878a9f5f7ec13d548b85982c5de5b55a11.tar.bz2 |
Packages: added Python 3.8 and Python 3.9 modules on RHEL 8 clones.
Refs: https://github.com/nginx/unit/issues/778
Diffstat (limited to '')
-rw-r--r-- | pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config b/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config new file mode 100644 index 00000000..c98d1a52 --- /dev/null +++ b/pkg/rpm/rpmbuild/SOURCES/unit.example-python38-config @@ -0,0 +1,16 @@ +{ + "applications": { + "example_python": { + "type": "python 3.8", + "processes": 2, + "path": "/usr/share/doc/unit-python38/examples/python-app", + "module": "wsgi" + } + }, + + "listeners": { + "*:8400": { + "pass": "applications/example_python" + } + } +} |